blob: fb4e011dccf25f283ed76afd78d22aa27d71a185 [file] [log] [blame]
Ulrich Dreppera688a732006-06-10 06:33:00 +000012006-06-09 Ulrich Drepper <drepper@redhat.com>
2
3 * i386_ld.c (elf_i386_finalize_plt): Don't change symbol table entries
4 for PLT entries if there is no local definition.
5
6 * ld.c (parse_option): Handle -z ignore like --as-needed and
7 -z record like --no-as-needed.
8 * ld.h (struct ld_state): Remove ignore_unused_dsos field.
9 * ldgeneric.c (new_generated_scn): Always compute ndt_needed by
10 looping over DSOs. When deciding about adding DT_NEEDED entries
11 use ->as_needed instead of ignore_unused_dsos.
12
Ulrich Drepper8c56fe32006-05-31 15:50:43 +0000132006-05-31 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper11b030e2006-05-28 20:28:19 +000014
Ulrich Drepper8c56fe32006-05-31 15:50:43 +000015 * ld.c: Recognize --as-needed and --no-as-needed options.
16 * ld.h (struct usedfile): Add as_needed field.
17 (struct ld_state): Likewise.
18 * ldgeneric.c (ld_handle_filename_list): Copy as_needed flag from
19 the list.
20 * ldscript.y (filename_id_list): Split to correctly parse all
21 combinations.
22 (mark_as_needed): Fix loop.
Ulrich Drepper11b030e2006-05-28 20:28:19 +000023
Ulrich Drepper697f4db2006-06-10 06:50:47 +0000242006-05-28 Ulrich Drepper <drepper@redhat.com>
25
26 * addr2line.c (print_dwarf_function): Use unsigned type for lineno
27 and colno.
28
Ulrich Drepper2cb8e732006-05-27 21:57:27 +0000292006-05-27 Ulrich Drepper <drepper@redhat.com>
30
31 * readelf.c (handle_relocs_rela): Better notations for addon value.
Ulrich Drepper41a99082006-05-28 00:01:43 +000032 (print_ehdr): Distinguish e_ident[EI_VERSION] from e_version.
Ulrich Drepper2cb8e732006-05-27 21:57:27 +000033
Ulrich Drepper82c345d2006-04-04 22:07:54 +0000342006-04-04 Ulrich Drepper <drepper@redhat.com>
35
36 * addr2line.c: Update copyright year.
37 * elfcmp.c: Likewise.
38 * elflint.c: Likewise.
39 * findtextrel.c: Likewise.
40 * ld.c: Likewise.
41 * nm.c: Likewise.
42 * objdump.c: Likewise.
43 * ranlib.c: Likewise.
44 * readelf.c: Likewise.
45 * size.c: Likewise.
46 * strings.c: Likewise.
47 * strip.c: Likewise.
48
Roland McGrathdd7e22b2006-03-09 23:05:47 +0000492006-03-09 Roland McGrath <roland@redhat.com>
50
51 * Makefile.am (AM_LDFLAGS): New variable.
52
Roland McGrath060fa052006-03-02 07:51:50 +0000532006-03-01 Roland McGrath <roland@redhat.com>
54
55 * readelf.c (dwarf_tag_string, dwarf_attr_string): Update name tables
56 for dwarf.h changes matching 3.0 spec.
57 (dwarf_encoding_string, dwarf_lang_string, print_ops): Likewise.
58
Ulrich Drepper038129b2005-12-04 16:47:24 +0000592005-12-04 Ulrich Drepper <drepper@redhat.com>
60
61 * elflint.c (check_one_reloc): If relocation section is not loaded,
62 don't check whether the relocations modify read-only sections or
63 loaded and unloaded sections.
64
Ulrich Drepper607e0542005-12-04 15:51:06 +0000652005-11-28 Ulrich Drepper <drepper@redhat.com>
66
67 * elflint.c (check_one_reloc): Take additional parameters. Use
68 them to determine whether relocation is valid in this type of
69 file. DSOs and executables can contain relocation sections in
70 unloaded sections which just show the relocations the linker
71 applied. Adjust all callers.
72 (check_program_header): Check that PT_PHDR is loaded and that offset
73 matches the one in the ELF header.
74
Roland McGrath6724c902005-10-28 07:07:19 +0000752005-10-26 Roland McGrath <roland@redhat.com>
76
77 * nm.c (get_var_range): dwarf_getloclist -> dwarf_getlocation.
78
Ulrich Drepperd0449522005-09-03 07:23:52 +0000792005-09-03 Ulrich Drepper <drepper@redhat.com>
80
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000081 * strip.c (handle_elf): Unify some error messages.
82 * ld.c (main): Likewise.
83 * ldgeneric.c (open_elf): Likewise.
84 * elfcmp.c (main): Likewise.
85 * elflint.c (check_elf_header): Likewise.
86
87 * size.c (process_file): Fix typo in error message.
88
Ulrich Drepperd0449522005-09-03 07:23:52 +000089 * readelf.c: Lots of little cleanups. Use _unlocked functions.
90
Ulrich Dreppera60501e2005-09-02 19:50:17 +0000912005-09-02 Ulrich Drepper <drepper@redhat.com>
92
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000093 * strings.c (main): Reset elfmap variable after munmap call.
Ulrich Drepper618795f2005-09-02 20:01:37 +000094 [_MUDFLAP] (map_file): Simplify mudflap debugging by not using mmap.
Ulrich Dreppera60501e2005-09-02 19:50:17 +000095
Ulrich Drepperfbe998a2005-08-29 16:27:10 +0000962005-08-28 Ulrich Drepper <drepper@redhat.com>
97
98 * ranlib.c: Don't define pread_retry and write_retry here.
99
100 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
101 (CLEANFILES): Add *.gcno *.gcda *.gconv.
102
103 * strings.c (process_chunk): Reorder expressions in conditional
104 (process_chunk_mb): Likewise.
105
106 * strings.c: New file.
107 * Makefile.am (bin_PROGRAMS): Add strings.
108 (strings_no_Wstring): Define.
109 (strings_LDADD): Define.
110
Roland McGrath71e15a02005-08-27 10:33:26 +00001112005-08-27 Roland McGrath <roland@redhat.com>
112
113 * addr2line.c (dwarf_diename_integrate): Function removed.
114 (print_dwarf_function): Use plain dwarf_diename.
115
Ulrich Drepperc5a06cd2005-08-24 19:50:14 +00001162005-08-24 Ulrich Drepper <drepper@redhat.com>
117
118 * elflint.c (check_versym): Versioned symbols should not have
119 local binding.
120
Ulrich Drepper5d832292005-08-15 21:36:27 +00001212005-08-15 Ulrich Drepper <drepper@redhat.com>
122
Ulrich Drepper61655e02005-08-16 04:23:02 +0000123 * elflint.c (check_versym): Allow VER_NDX_LOCAL symbols to be
124 undefined.
125
Ulrich Drepper5d832292005-08-15 21:36:27 +0000126 * Makefile.am: Add rules to build ranlib.
127 * ranlib.c: New file.
128
Roland McGrath18e13422005-08-15 08:01:25 +00001292005-08-14 Roland McGrath <roland@redhat.com>
130
131 * elflint.c (check_sections): Use ebl_section_type_name and allow any
132 sh_type it recognizes.
133
134 * elflint.c (check_sections): Print unknown flags in hex, don't
135 truncate high bits. Print section number and name for unknown type.
136
Roland McGrathf6895042005-08-13 20:56:52 +00001372005-08-13 Roland McGrath <roland@redhat.com>
138
139 * elflint.c (check_program_header): Use ebl_segment_type_name and
140 allow any p_type it recognizes. Include p_type value in error
141 message for unknown type.
142
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00001432005-08-13 Ulrich Drepper <drepper@redhat.com>
144
145 * elflint.c (check_symtab): Simplify last change a bit. Pass ehdr
146 to ebl_check_special_symbol.
147 (check_sections): Pass ehdr to ebl_bss_plt_p.
148
Roland McGrath653d3762005-08-13 01:59:10 +00001492005-08-12 Roland McGrath <roland@redhat.com>
150
151 * elflint.c (check_symtab): Check that _GLOBAL_OFFSET_TABLE_ st_shndx
152 refers to the right section if it's not SHN_ABS.
153 Let ebl_check_special_symbol override _G_O_T_ value and size checks.
154
155 * elflint.c (check_sections): Don't complain about a non-NOBITS
156 section taking no segment space, if it's sh_size is 0.
157
158 * elflint.c (check_sections): Use ebl_bss_plt_p to see if .plt should
159 be PROGBITS or NOBITS.
160
161 * elflint.c (check_symtab): Use ebl_check_special_symbol to override
162 standard st_value and st_size checks.
163
Roland McGrath1c83bf12005-08-11 07:03:55 +00001642005-07-28 Roland McGrath <roland@redhat.com>
Ulrich Drepperfaf4d192005-08-11 05:12:05 +0000165
Roland McGrath1c83bf12005-08-11 07:03:55 +0000166 * addr2line.c (options, parse_opt): Don't handle -e here.
167 (executable): Variable removed.
168 (argp_children): New static variable.
169 (argp): Use it. Make const.
170 (main): Fill in argp_children from dwfl_standard_argp ().
171 Let libdwfl handle file selection, pass Dwfl handle to handle_address.
172 (print_dwarf_function): New function. Try to figure out inline chain.
173 (elf_getname): Function removed, libdwfl does it for us.
174 (handle_address): Take Dwfl handle instead of Elf, Dwarf handles.
175 Use dwfl_module_addrname instead of elf_getname.
176 Use dwfl_module_getsrc and dwfl_lineinfo instead of libdw calls.
177 * Makefile.am (INCLUDES): Add libdwfl directory to path.
178
1792005-08-10 Ulrich Drepper <drepper@redhat.com>
180
181 * strip.c (parse_opt): STATE parameter is now used.
182 Various little cleanups.
183
184 * readelf.c (print_debug_line_section): Correct fallout of renaming
185 of DW_LNS_set_epilog_begin.
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000186
Roland McGrath8f31c2c2005-08-09 04:58:05 +00001872005-08-08 Roland McGrath <roland@redhat.com>
188
189 * strip.c (options, parse_opt): Grok -R .comment for compatibility
190 with binutils strip. Likewise -d, -S, as aliases for -g.
191 Likewise ignore -s/--strip-all.
192
Roland McGrath095a01b2005-08-08 03:49:35 +00001932005-08-07 Roland McGrath <roland@redhat.com>
194
195 * strip.c (process_file): Open read-only when using a different output
196 file.
197
Ulrich Drepper47be7952005-08-07 04:41:39 +00001982005-08-06 Ulrich Drepper <drepper@redhat.com>
199
Ulrich Drepper637963b2005-08-07 05:33:07 +0000200 * elflint.c (in_nobits_scn): New function.
201 (check_versym): Allow references for defined symbols against versions
202 of other DSOs also for symbols in nobits sections.
203 Move a few variables around.
204
Ulrich Drepper47be7952005-08-07 04:41:39 +0000205 * Makefile.am (AM_CFLAGS): Avoid duplication.
206 Link with statis libs if BUILD_STATIC.
207
Ulrich Drepperdbace232005-08-06 01:37:23 +00002082005-08-05 Ulrich Drepper <drepper@redhat.com>
209
210 * elflint.c: Many, many more tests. Mostly related to symbol
211 versioning. Those sections should now be completely checked.
212
213 * readelf.c (print_dynamic): Use gelf_offscn.
214
Ulrich Drepperacb89832005-08-04 07:01:49 +00002152005-08-04 Ulrich Drepper <drepper@redhat.com>
216
217 * elflint.c: Add lots more tests: more extension symbol table sanity,
218 versioning section tests, hash table tests. General cleanup.
219
Ulrich Drepperc911c9e2005-08-02 16:07:42 +00002202005-08-02 Ulrich Drepper <drepper@redhat.com>
221
Ulrich Drepper8a687742005-08-03 02:24:12 +0000222 * objdump.c: New file.
223 * Makefile.am (bin_PROGRAMS): Add objdump.
224 (objdump_LDADD): Define.
225
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000226 * elflint.c (check_reloc_shdr): New function split out from check_rela
227 and check_rel.
228 (check_one_reloc): New function. Likewise.
229 (check_rela): Use check_reloc_shdr and check_one_reloc.
230 (check_rel): Likewise.
Ulrich Drepper41de4882005-08-03 00:02:56 +0000231 (check_program_header): Check that PT_DYNAMIC entry matches .dynamic
232 section.
233 Add checks that relocations against read-only segments are flagged,
234 that the text relocation flag is not set unnecessarily, and that
235 relocations in one section are either against loaded or not-loaded
236 segments.
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000237
Ulrich Drepper8533dcf2005-08-01 07:18:47 +00002382005-08-01 Ulrich Drepper <drepper@redhat.com>
239
240 * elfcmp.c (main): Ignore section count and section name string table
241 section index.
242
Roland McGrathf9ece8a2005-07-28 07:03:04 +00002432005-07-27 Roland McGrath <roland@redhat.com>
244
245 * elfcmp.c: Include <locale.h>.
246
Ulrich Drepper7d48d6a2005-07-27 10:13:23 +00002472005-07-27 Ulrich Drepper <drepper@redhat.com>
248
249 * elfcmp.c: Print name and index of differing section.
250
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00002512005-07-24 Ulrich Drepper <drepper@redhat.com>
252
253 * elfcmp.c: Implement comparing gaps between sections.
254
2552005-07-23 Ulrich Drepper <drepper@redhat.com>
256
257 * elflint.c: Include libeblP.h instead of libebl.h.
258 * nm.c: Likewise.
259 * readelf.c: Likewise.
260 * elfcmp.c: Likewise.
261
262 * elfcmp.c (main): Compare individual ELF header fields, excluding
263 e_shoff instead of the whole struct at once.
264 Use ebl_section_strip_p instead of SECTION_STRIP_P.
265 * strip.c: Use ebl_section_strip_p instead of SECTION_STRIP_P.
266
2672005-07-22 Ulrich Drepper <drepper@redhat.com>
268
269 * elfcmp.c (main): Take empty section into account when comparing
270 section content.
271
272 * elflint.c (check_dynamic): Check that d_tag value is >= 0 before
273 using it.
274
2752005-07-21 Ulrich Drepper <drepper@redhat.com>
276
277 * elfcmp.c: New file.
278 * Makefile.am (bin_PROGRAMS): Add elfcmp.
279 (elfcmp_LDADD): Define.
280
281 * elflint.c (check_rela): Check that copy relocations only reference
282 object symbols or symbols with unknown type.
283 (check_rel): Likewise.
284
2852005-06-08 Roland McGrath <roland@redhat.com>
286
287 * readelf.c (print_ops): Add consts.
288
2892005-05-31 Roland McGrath <roland@redhat.com>
290
291 * readelf.c (print_debug_abbrev_section): Don't bail after first CU's
292 abbreviations. Print a header line before each CU section.
293
294 * readelf.c (print_debug_loc_section): Fix indentation for larger
295 address size.
296
2972005-05-30 Roland McGrath <roland@redhat.com>
298
299 * readelf.c (print_debug_line_section): Print section offset of each
300 CU's table, so they are easy to find from seeing the stmt_list value.
301
302 * readelf.c (dwarf_attr_string): Add all attributes in <dwarf.h>.
303 (attr_callback): Grok DW_AT_ranges and print offset in hex.
304
305 * readelf.c (attr_callback): Add 2 to addrsize * 2 for %#0* format.
306 (print_debug_ranges_section, print_debug_loc_section): Likewise.
307
308 * readelf.c (print_ops): Take different args for indentation control.
309 (attr_callback): Caller updated.
310 Grok several more block-form attributes as being location expressions.
311 For those same attributes with udata forms, format output differently
312 for location list offset.
313 (print_debug_loc_section): Implement it for real.
314
315 * readelf.c (options): Mention ranges for --debug-dump.
316 (enum section_e): Add section_ranges.
317 (parse_opt): Grok "ranges" for -w/--debug-dump.
318 (print_debug_ranges_section): New function.
319 (print_debug): Handle .debug_ranges section.
320
3212005-05-30 Ulrich Drepper <drepper@redhat.com>
322
323 * readelf.c (handle_notes): At least x86-64 need not have the note
324 section values aligned to 8 bytes.
325
3262005-05-18 Ulrich Drepper <drepper@redhat.com>
327
328 * readelf.c (dwarf_tag_string): Add new tags.
329
3302005-05-08 Roland McGrath <roland@redhat.com>
331
332 * strip.c (handle_elf): Don't translate hash and versym data formats,
333 elf_getdata already did it for us.
334
3352005-05-07 Ulrich Drepper <drepper@redhat.com>
336
337 * Makefile.am (findtextrel_LDADD): Add $(libmudflap).
338 (addr2line_LDADD): Likewise.
339
3402005-05-03 Roland McGrath <roland@redhat.com>
341
342 * strip.c (handle_elf): Apply symbol table fixups to discarded
343 relocation sections when they are being saved in the debug file.
344
345 * strip.c (handle_elf): Pass EHDR->e_ident[EI_DATA] to gelf_xlatetom
346 and gelf_xlatetof, not the native byte order.
347
348 * strip.c (parse_opt): Give error if -f or -o is repeated.
349 (main): Exit if argp_parse returns nonzero.
350
351 * strip.c (debug_fname_embed): New variable.
352 (options, parse_opt): New option -F to set it.
353
3542005-05-07 Ulrich Drepper <drepper@redhat.com>
355
356 * readelf.c (parse_opt): Make any_control_option variable
357 local. Simplify some tests.
358
3592005-05-03 Roland McGrath <roland@redhat.com>
360
361 * strip.c (crc32_file): Function removed (now in ../lib).
362
3632005-05-03 Roland McGrath <roland@redhat.com>
364
365 * elflint.c (is_debuginfo): New variable.
366 (options, parse_opt): New option --debuginfo/-d to set it.
367 (check_sections): If is_debuginfo, don't complain about SHT_NOBITS.
368 (check_note): If is_debuginfo, don't try to get note contents.
369
3702005-04-24 Ulrich Drepper <drepper@redhat.com>
371
372 * readelf.c (print_debug_abbrev_section): Don't print error when end of
373 section reached.
374
3752005-04-14 Ulrich Drepper <drepper@redhat.com>
376
377 * readelf.c (dwarf_encoding_string): New function.
378 (dwarf_inline_string): New function.
379 (dwarf_access_string): New function.
380 (dwarf_visibility_string): New function.
381 (dwarf_virtuality_string): New function.
382 (dwarf_identifier_case_string): New function.
383 (dwarf_calling_convention_string): New function.
384 (dwarf_ordering_string): New function.
385 (dwarf_discr_list_string): New function.
386 (attr_callback): Decode man more attribute values.
387
3882005-04-01 Ulrich Drepper <drepper@redhat.com>
389
390 * addr2line.c: Finish implementation of -f option.
391
3922005-03-29 Ulrich Drepper <drepper@redhat.com>
393
394 * addr2line.c: New file.
395 * Makefile.am (bin_PROGRAMS): Add addr2line.
396 Define addr2line_LDADD.
397
398 * findtextrel.c: Use new dwarf_addrdie function.
399
400 * findtextrel.c: Fix usage message and re-add accidentally removed
401 line.
402
4032005-03-28 Ulrich Drepper <drepper@redhat.com>
404
405 * findtextrel.c: New file.
406 * Makefile: Add rules to build findtextrel.
407
4082005-02-15 Ulrich Drepper <drepper@redhat.com>
409
410 * ldlex.l: Provide ECHO definition to avoid warning.
411
412 * elflint.c (check_program_header): Fix typo in RELRO test.
413
414 * Makefile.am (AM_CFLAGS): Add more warning options.
415 * elflint.c: Fix warnings introduced by the new warning options.
416 * i386_ld.c: Likewise.
417 * ld.c: Likewise.
418 * ld.h: Likewise.
419 * ldgeneric.c: Likewise.
420 * nm.c: Likewise.
421 * readelf.c: Likewise.
422 * sectionhash.c: Likewise.
423 * size.c: Likewise.
424 * string.c: Likewise.
425
4262005-02-05 Ulrich Drepper <drepper@redhat.com>
427
428 * Makefile.am: Check for text relocations in constructed DSOs.
429
430 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all apps
431 with -lmudflap.
432
433 * ldscript.y: Add as_needed handling.
434 * ldlex.l: Recognize AS_NEEDED token.
435 * ld.h (struct filename_list): Add as_needed flag.
436
4372005-02-04 Ulrich Drepper <drepper@redhat.com>
438
439 * elflint.c (check_symtab): Correctly determine size of GOT section.
440
4412005-01-19 Ulrich Drepper <drepper@redhat.com>
442
443 * ld.c: Remove unnecessary more_help function. Print bug report
444 address using argp.
445 * strip.c: Likewise.
446 * size.c: Likewise.
447 * nm.c: Likewise.
448 * readelf.c: Likewise.
449 * elflint.c: Likewise.
450
451 * elflint.c (main): Don't check for parameter problems here.
452 (parse_opt): Do it here, where we get informed about some of them
453 anyway.
454
455 * readelf.c (main): Don't check for parameter problems here.
456 (parse_opt): Do it here, where we get informed about some of them
457 anyway.
458
4592005-01-11 Ulrich Drepper <drepper@redhat.com>
460
461 * strip.c: Update copyright year.
462 * readelf.c: Likewise.
463 * size.c: Likewise.
464 * nm.c: Likewise.
465 * ld.c: Likewise.
466 * elflint.c: Likewise.
467
468 * elflint.c (check_symtab): Don't warn about wrong size for
469 _DYNAMIC and __GLOBAL_OFFSET_TABLE__ for --gnu-ld.
470
4712004-10-05 Ulrich Drepper <drepper@redhat.com>
472
473 * readelf.c (print_phdr): In section mapping, also indicate
474 sections in read-only segments.
475
4762004-09-25 Ulrich Drepper <drepper@redhat.com>
477
478 * readelf.c: Make compile with gcc 4.0.
479 * strip.c: Likewise.
480
4812004-08-16 Ulrich Drepper <drepper@redhat.com>
482
483 * strip.c (handle_elf): Rewrite dynamic memory handling to use of
484 allocate to work around gcc 3.4 bug.
485
4862004-01-25 Ulrich Drepper <drepper@redhat.com>
487
488 * ldlex.l (invalid_char): Better error message.
489
4902004-01-23 Ulrich Drepper <drepper@redhat.com>
491
492 * readelf.c: Print SHT_GNU_LIBLIST sections.
493
494 * none_ld.c: New file.
495
4962004-01-21 Ulrich Drepper <drepper@redhat.com>
497
498 * Makefile.am: Enable building of machine specific linker.
499
5002004-01-20 Ulrich Drepper <drepper@redhat.com>
501
502 * Makefile.am: Support building with mudflap.
503
504 * i386_ld.c: Fix warnings gcc 3.4 spits out.
505 * ldgeneric.c: Likewise.
506 * ldscript.y: Likewise.
507 * readelf.c: Likewise.
508 * strip.c: Likewise.
509
510 * readelf.c (print_debug_line_section): Determine address size
511 correctly.
512
5132004-01-19 Ulrich Drepper <drepper@redhat.com>
514
515 * readelf.c (print_phdr): Show which sections are covered by the
516 PT_GNU_RELRO entry.
517
518 * elflint.c (check_program_header): Check PT_GNU_RELRO entry.
519
520 * readelf.c (print_debug_macinfo_section): Implement.
521
5222004-01-18 Ulrich Drepper <drepper@redhat.com>
523
524 * readelf.c (print_debug_line_section): Implement.
525
5262004-01-17 Ulrich Drepper <drepper@redhat.com>
527
528 * src/elflint.c: Use PACKAGE_NAME instead of PACKAGE.
529 * src/ld.c: Likewise.
530 * src/nm.c: Likewise.
531 * src/readelf.c: Likewise.
532 * src/size.c: Likewise.
533 * src/strip.c: Likewise.
534
535 * strip.c: Add a few more unlikely. Reduce scope of some variables.
536
537 * Makefile.am: Support building with mudflap.
538
5392004-01-16 Ulrich Drepper <drepper@redhat.com>
540
541 * readelf.c (print_debug_info_section): Free dies memory.
542
543 * readelf.c: Print .debug_info section content.
544
5452004-01-13 Ulrich Drepper <drepper@redhat.com>
546
547 * readelf.c (print_shdr): Add support for SHF_ORDERED and SHF_EXCLUDE.
548
5492004-01-12 Ulrich Drepper <drepper@redhat.com>
550
551 * readelf.c (print_debug_aranges): Implement using libdw.
552
5532004-01-11 Ulrich Drepper <drepper@redhat.com>
554
555 * nm.c: Adjust for Dwarf_Files type and dwarf_lineno interface change.
556
557 * readelf.c: Use libdw instead of libdwarf. Not all of the old
558 behavior is available yet.
559 * Makefile.am: Link readelf with libdw. Remove libdwarf include path.
560
5612004-01-09 Ulrich Drepper <drepper@redhat.com>
562
563 * nm.c (get_local_names): Adjust call to dwarf_nextcu.
564
565 * nm.c: Implement getting information about local variables.
566
5672004-01-07 Ulrich Drepper <drepper@redhat.com>
568
569 * nm.c: Read also debug information for local symbols.
570
5712004-01-05 Ulrich Drepper <drepper@redhat.com>
572
573 * nm.c: Shuffle dwarf handling code around so the maximum column
574 width can be computed ahead of printing. Avoid collection symbols
575 which are not printed anyway.
576
577 * nm.c: Rewrite dwarf handling to use libdw.
578 * Makefile.am (AM_CFLAGS): Add -std parameter.
579 (INCLUDES): Find header in libdw subdir.
580 (nm_LDADD): Replace libdwarf with libdw.
581
582 * elflint.c: Update copyright year.
583 * readelf.c: Likewise.
584 * size.c: Likewise.
585 * strip.c: Likewise.
586 * nm.c: Likewise.
587
5882003-12-31 Ulrich Drepper <drepper@redhat.com>
589
590 * strip.c (process_file): Close file before returning.
591
5922003-11-19 Ulrich Drepper <drepper@redhat.com>
593
594 * readelf.c (handle_dynamic): Make column for tag name wider.
595
5962003-09-29 Ulrich Drepper <drepper@redhat.com>
597
598 * readelf.c (handle_dynamic): Always terminate tag name with a space.
599
6002003-09-25 Ulrich Drepper <drepper@redhat.com>
601
602 * strip.c (process_file): Don't mmap the input file, we modify the
603 data structures and don't want the change end up on disk.
604
6052003-09-23 Jakub Jelinek <jakub@redhat.com>
606
607 * unaligned.h (union u_2ubyte_unaligned,
608 union u_4ubyte_unaligned, union u_8ubyte_unaligned): Add
609 packed attribute.
610 (add_2ubyte_unaligned, add_4ubyte_unaligned,
611 add_8ubyte_unaligned): Avoid nesting bswap_NN macros.
612 Read/store value through _ptr->u instead of *_ptr.
613
6142003-09-22 Ulrich Drepper <drepper@redhat.com>
615
616 * size.c (show_sysv): Change type of maxlen to int.
617
618 * strip.c (handle_elf): Handle the 64-bit archs which is 64-bit
619 buckets.
620
621 * i386_ld.c: Many many fixes and extensions.
622 * ld.c: Likewise.
623 * ldgeneric.c: Likewise.
624
6252003-08-16 Ulrich Drepper <drepper@redhat.com>
626
627 * ldgeneric.c (check_definition): Don't add symbol on dso_list if
628 the reference is from another DSO.
629
6302003-08-15 Ulrich Drepper <drepper@redhat.com>
631
632 * ldgeneric.c (find_entry_point): It is no fatal error if no entry
633 point is found when creating a DSO.
634
6352003-08-14 Ulrich Drepper <drepper@redhat.com>
636
637 * ld.c (main): Always call FLAG_UNRESOLVED.
638 * ldgeneric.c (ld_generic_flag_unresolved): Only complain about
639 undefined symbols if not creating DSO or ld_state.nodefs is not set.
640
6412003-08-13 Ulrich Drepper <drepper@redhat.com>
642
643 * Makefile.in: Depend on libebl.a, not libebl.so.
644
645 * ld.c (main): Mark stream for linker script as locked by caller.
646 (read_version_script): Likewise.
647 * ldlex.c: Define fread and fwrite to _unlocked variant.
648
649 * i386_ld.c (elf_i386_finalize_plt): Replace #ifdefs with uses of
650 target_bswap_32.
651 * unaligned.h: Define target_bswap_16, target_bswap_32, and
652 target_bswap_64.
653 (store_2ubyte_unaligned, store_4ubyte_unaligned,
654 store_8ubyte_unaligned): Define using new macros.
655
6562003-08-12 Ulrich Drepper <drepper@redhat.com>
657
658 * i386_ld.c (elf_i386_finalize_plt): Use packed structs to access
659 possibly unaligned memory. Support use of big endian machines.
660
6612003-08-11 Ulrich Drepper <drepper@redhat.com>
662
663 * Moved to CVS archive.