Home
last modified time | relevance | path

Searched refs:elf_errmsg (Results 1 – 25 of 74) sorted by relevance

123

/third_party/elfutils/tests/
Demptyfile.c49 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in add_string()
81 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in check_elf()
88 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in check_elf()
96 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in check_elf()
109 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in check_elf()
116 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in check_elf()
122 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in check_elf()
139 printf ("cannot create ELF descriptor read-only: %s\n", elf_errmsg (-1)); in check_elf()
154 printf ("cannot create strings section: %s\n", elf_errmsg (-1)); in check_elf()
165 printf ("cannot get header for strings section: %s\n", elf_errmsg (-1)); in check_elf()
[all …]
Delfcopy.c91 in, elf_errmsg (-1)); in copy_elf()
108 out, elf_errmsg (-1)); in copy_elf()
117 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in copy_elf()
125 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in copy_elf()
135 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in copy_elf()
144 printf ("cannot get shstrndx: %s\n", elf_errmsg (-1)); in copy_elf()
149 printf ("cannot set shstrndx: %s\n", elf_errmsg (-1)); in copy_elf()
157 printf ("cannot get phdrs: %s\n", elf_errmsg (-1)); in copy_elf()
165 printf ("cannot create phdrs: %s\n", elf_errmsg (-1)); in copy_elf()
175 printf ("couldn't get phdr %zd: %s\n", cnt, elf_errmsg (-1)); in copy_elf()
[all …]
Dnewdata.c46 printf ("couldn't get data section: %s\n", elf_errmsg (-1)); in add_section_data()
53 printf ("cannot create newdata for section: %s\n", elf_errmsg (-1)); in add_section_data()
66 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in add_section_data()
78 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in create_elf()
85 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in create_elf()
93 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in create_elf()
107 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in create_elf()
115 printf ("cannot create new section: %s\n", elf_errmsg (-1)); in create_elf()
123 printf ("cannot get header for data section: %s\n", elf_errmsg (-1)); in create_elf()
139 printf ("cannot update header for DATA section: %s\n", elf_errmsg (-1)); in create_elf()
[all …]
Delfstrtab.c116 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in add_string()
148 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in check_elf()
155 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in check_elf()
163 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in check_elf()
178 printf ("cannot create strings section: %s\n", elf_errmsg (-1)); in check_elf()
189 printf ("cannot get header for strings section: %s\n", elf_errmsg (-1)); in check_elf()
209 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in check_elf()
226 printf ("cannot update STRTAB section header: %s\n", elf_errmsg (-1)); in check_elf()
233 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in check_elf()
243 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in check_elf()
[all …]
Dvendorelf.c50 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in check_elf()
57 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in check_elf()
65 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in check_elf()
78 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in check_elf()
85 printf ("cannot create program header: %s\n", elf_errmsg (-1)); in check_elf()
92 printf ("cannot get program header: %s\n", elf_errmsg (-1)); in check_elf()
108 printf ("cannot update program header: %s\n", elf_errmsg (-1)); in check_elf()
115 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in check_elf()
121 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in check_elf()
138 printf ("cannot create ELF descriptor read-only: %s\n", elf_errmsg (-1)); in check_elf()
[all …]
Dfillfile.c49 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in add_strtab_entry()
72 printf ("cannot create strings section: %s\n", elf_errmsg (-1)); in create_strtab()
84 elf_errmsg (-1)); in create_strtab()
103 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in create_strtab()
112 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in create_strtab()
119 printf ("cannot update STRTAB section header: %s\n", elf_errmsg (-1)); in create_strtab()
136 printf ("cannot create strings section: %s\n", elf_errmsg (-1)); in add_data_section()
145 sname, elf_errmsg (-1)); in add_data_section()
160 printf ("cannot update %s section header: %s\n", sname, elf_errmsg (-1)); in add_data_section()
168 printf ("cannot update %s section header: %s\n", sname, elf_errmsg (-1)); in add_data_section()
[all …]
Daddsections.c89 name, elf_errmsg (-1)); in add_sections()
100 printf ("cannot get shstrndx: %s\n", elf_errmsg (-1)); in add_sections()
107 printf ("couldn't get shstrtab scn: %s\n", elf_errmsg (-1)); in add_sections()
113 printf ("couldn't get shstrtab data: %s\n", elf_errmsg (-1)); in add_sections()
138 elf_errmsg (-1)); in add_sections()
148 elf_errmsg (-1)); in add_sections()
179 elf_errmsg (-1)); in add_sections()
187 elf_errmsg (-1)); in add_sections()
200 elf_errmsg (-1)); in add_sections()
217 elf_errmsg (-1)); in add_sections()
[all …]
Dupdate4.c68 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
76 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
108 printf ("cannot create program header: %s\n", elf_errmsg (-1)); in main()
120 printf ("cannot create first section: %s\n", elf_errmsg (-1)); in main()
126 printf ("cannot get header for first section: %s\n", elf_errmsg (-1)); in main()
142 printf ("cannot create data first section: %s\n", elf_errmsg (-1)); in main()
156 printf ("cannot create second section: %s\n", elf_errmsg (-1)); in main()
162 printf ("cannot get header for second section: %s\n", elf_errmsg (-1)); in main()
178 printf ("cannot create data second section: %s\n", elf_errmsg (-1)); in main()
192 printf ("cannot create third section: %s\n", elf_errmsg (-1)); in main()
[all …]
Dalldts.c87 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
95 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
114 printf ("cannot create program headers: %s\n", elf_errmsg (-1)); in main()
128 printf ("cannot create DYNAMIC section: %s\n", elf_errmsg (-1)); in main()
135 printf ("cannot get header for DYNAMIC section: %s\n", elf_errmsg (-1)); in main()
155 printf ("cannot create data for DYNAMIC section: %s\n", elf_errmsg (-1)); in main()
185 printf ("cannot create SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
192 printf ("cannot get header for SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
211 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
224 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in main()
[all …]
Darsymtest.c62 printf ("Cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
77 printf ("Cannot get archive index: %s\n", elf_errmsg (-1)); in main()
93 arsym[narsym].as_name, elf_errmsg (-1)); in main()
101 elf_errmsg (-1)); in main()
109 arsym[narsym].as_name, elf_errmsg (-1)); in main()
120 elf_errmsg (-1)); in main()
128 printf ("Error while freeing ELF descriptor: %s\n", elf_errmsg (-1)); in main()
Dupdate3.c64 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
72 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
104 printf ("cannot create program header: %s\n", elf_errmsg (-1)); in main()
116 printf ("cannot create SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
122 printf ("cannot get header for SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
142 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
154 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in main()
172 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in main()
199 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in main()
Dxlate_notes.c58 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
65 printf ("cannot get Ehdr: %s\n", elf_errmsg (-1)); in main()
77 printf ("couldn't get shdr: %s\n", elf_errmsg (-1)); in main()
88 printf ("couldn't get raw data: %s\n", elf_errmsg (-1)); in main()
95 printf ("couldn't get data: %s\n", elf_errmsg (-1)); in main()
123 printf ("couldn't xlate note: %s\n", elf_errmsg (-1)); in main()
150 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in main()
Delfgetchdr.c52 printf ("%s not usable %s\n", argv[cnt], elf_errmsg (-1)); in main()
61 printf ("elf_getshdrstrnd failed %s\n", elf_errmsg (-1)); in main()
74 printf ("gelf_getshdr failed: %s\n", elf_errmsg (-1)); in main()
84 printf ("gelf_getchdr failed: %s\n", elf_errmsg (-1)); in main()
98 printf ("couldn't get section name: %s\n", elf_errmsg (-1)); in main()
110 elf_errmsg (-1)); in main()
Dzstrptr.c78 printf ("cannot create ELF descriptor read-only: %s\n", elf_errmsg (-1)); in main()
85 printf ("cannot get section header table index: %s\n", elf_errmsg (-1)); in main()
98 printf ("Couldn't get section %zd: %s\n", ndx, elf_errmsg (-1)); in main()
104 printf ("Couldn't compress section %zd: %s\n", ndx, elf_errmsg (-1)); in main()
111 printf ("Couldn't decompress section %zd: %s\n", ndx, elf_errmsg (-1)); in main()
118 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in main()
Ddwelfgnucompressed.c52 printf ("%s not usable %s\n", argv[cnt], elf_errmsg (-1)); in main()
61 printf ("elf_getshdrstrnd failed %s\n", elf_errmsg (-1)); in main()
74 printf ("gelf_getshdr failed: %s\n", elf_errmsg (-1)); in main()
82 printf ("couldn't get section name: %s\n", elf_errmsg (-1)); in main()
93 elf_errmsg (-1)); in main()
Dupdate2.c55 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
63 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
95 printf ("cannot create program header: %s\n", elf_errmsg (-1)); in main()
105 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in main()
123 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in main()
144 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in main()
Darextract.c60 printf ("Cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
79 printf ("cannot get arhdr: %s\n", elf_errmsg (-1)); in main()
93 elf_errmsg (-1)); in main()
134 printf ("Freeing ELF descriptors failed: %s", elf_errmsg (-1)); in main()
150 elf_errmsg (-1)); in main()
Dupdate1.c54 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
62 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
92 printf ("failure in elf_update: %s\n", elf_errmsg (-1)); in main()
100 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
121 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in main()
Delfrdwrnop.c65 name, elf_errmsg (-1)); in main()
74 printf ("cannot get phdrs: %s\n", elf_errmsg (-1)); in main()
83 printf ("failure in elf_update: %s\n", elf_errmsg (-1)); in main()
89 printf ("couldn't cleanup elf '%s': %s\n", name, elf_errmsg (-1)); in main()
Delfputzdata.c65 printf ("%s not usable %s\n", argv[cnt], elf_errmsg (-1)); in main()
135 idx, elf_errmsg (-1)); in main()
151 idx, elf_errmsg (-1)); in main()
195 idx, elf_errmsg (-1)); in main()
204 idx, elf_errmsg (-1)); in main()
233 elf_errmsg (-1)); in main()
Dnewfile.c73 printf ("elf_begin: %s\n", elf_errmsg (-1)); in main()
80 printf ("elf32_newehdr: %s\n", elf_errmsg (-1)); in main()
89 printf ("elf32_getehdr: %s\n", elf_errmsg (-1)); in main()
132 printf ("elf32_newphdr: %s\n", elf_errmsg (-1)); in main()
143 printf ("elf32_getehdr (#2): %s\n", elf_errmsg (-1)); in main()
Dsaridx.c128 printf ("elf_begin: %s\n", elf_errmsg (-1)); in main()
154 printf ("cannot get arhdr: %s\n", elf_errmsg (-1)); in main()
198 printf (" *** cannot get ELF header: %s\n", elf_errmsg (-1)); in main()
228 elf_errmsg (-1)); in main()
237 printf ("no symbol table in archive: %s\n", elf_errmsg (-1)); in main()
251 printf ("error while freeing ELF descriptor: %s\n", elf_errmsg (-1)); in main()
Dnext_cfi.c48 elf_errmsg (-1)); in handle_section()
53 elf_errmsg (-1)); in handle_section()
59 elf_errmsg (-1)); in handle_section()
113 elf_errmsg (-1)); in main()
124 elf_errmsg (-1)); in main()
/third_party/elfutils/src/
Delfcmp.c172 fname1, elf_errmsg (-1)); in main()
177 fname2, elf_errmsg (-1)); in main()
210 fname1, elf_errmsg (-1)); in main()
213 fname2, elf_errmsg (-1)); in main()
225 fname1, elf_errmsg (-1)); in main()
228 fname2, elf_errmsg (-1)); in main()
241 fname1, elf_errmsg (-1)); in main()
244 fname2, elf_errmsg (-1)); in main()
338 elf_ndxscn (scn1), fname1, elf_errmsg (-1)); in main()
344 elf_ndxscn (scn2), fname2, elf_errmsg (-1)); in main()
[all …]
Dfindtextrel.c214 fname, elf_errmsg (-1)); in process_file()
224 fname, elf_errmsg (-1)); in process_file()
255 elf_ndxscn (scn), elf_errmsg (-1)); in process_file()
279 elf_errmsg (-1)); in process_file()
315 elf_errmsg (-1)); in process_file()
326 i, elf_errmsg (-1)); in process_file()
342 i, elf_errmsg (-1)); in process_file()
385 elf_ndxscn (scn), elf_errmsg (-1)); in process_file()
398 (size_t) shdr->sh_link, fname, elf_errmsg (-1)); in process_file()
419 cnt, elf_ndxscn (scn), fname, elf_errmsg (-1)); in process_file()
[all …]

123