blob: 8ed1b34fee5eb7b2fd7ce3047e1dc7062e666da7 [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 Drepper2cb8e732006-05-27 21:57:27 +0000242006-05-27 Ulrich Drepper <drepper@redhat.com>
25
26 * readelf.c (handle_relocs_rela): Better notations for addon value.
Ulrich Drepper41a99082006-05-28 00:01:43 +000027 (print_ehdr): Distinguish e_ident[EI_VERSION] from e_version.
Ulrich Drepper2cb8e732006-05-27 21:57:27 +000028
Ulrich Drepper82c345d2006-04-04 22:07:54 +0000292006-04-04 Ulrich Drepper <drepper@redhat.com>
30
31 * addr2line.c: Update copyright year.
32 * elfcmp.c: Likewise.
33 * elflint.c: Likewise.
34 * findtextrel.c: Likewise.
35 * ld.c: Likewise.
36 * nm.c: Likewise.
37 * objdump.c: Likewise.
38 * ranlib.c: Likewise.
39 * readelf.c: Likewise.
40 * size.c: Likewise.
41 * strings.c: Likewise.
42 * strip.c: Likewise.
43
Roland McGrathdd7e22b2006-03-09 23:05:47 +0000442006-03-09 Roland McGrath <roland@redhat.com>
45
46 * Makefile.am (AM_LDFLAGS): New variable.
47
Roland McGrath060fa052006-03-02 07:51:50 +0000482006-03-01 Roland McGrath <roland@redhat.com>
49
50 * readelf.c (dwarf_tag_string, dwarf_attr_string): Update name tables
51 for dwarf.h changes matching 3.0 spec.
52 (dwarf_encoding_string, dwarf_lang_string, print_ops): Likewise.
53
Ulrich Drepper038129b2005-12-04 16:47:24 +0000542005-12-04 Ulrich Drepper <drepper@redhat.com>
55
56 * elflint.c (check_one_reloc): If relocation section is not loaded,
57 don't check whether the relocations modify read-only sections or
58 loaded and unloaded sections.
59
Ulrich Drepper607e0542005-12-04 15:51:06 +0000602005-11-28 Ulrich Drepper <drepper@redhat.com>
61
62 * elflint.c (check_one_reloc): Take additional parameters. Use
63 them to determine whether relocation is valid in this type of
64 file. DSOs and executables can contain relocation sections in
65 unloaded sections which just show the relocations the linker
66 applied. Adjust all callers.
67 (check_program_header): Check that PT_PHDR is loaded and that offset
68 matches the one in the ELF header.
69
Roland McGrath6724c902005-10-28 07:07:19 +0000702005-10-26 Roland McGrath <roland@redhat.com>
71
72 * nm.c (get_var_range): dwarf_getloclist -> dwarf_getlocation.
73
Ulrich Drepperd0449522005-09-03 07:23:52 +0000742005-09-03 Ulrich Drepper <drepper@redhat.com>
75
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000076 * strip.c (handle_elf): Unify some error messages.
77 * ld.c (main): Likewise.
78 * ldgeneric.c (open_elf): Likewise.
79 * elfcmp.c (main): Likewise.
80 * elflint.c (check_elf_header): Likewise.
81
82 * size.c (process_file): Fix typo in error message.
83
Ulrich Drepperd0449522005-09-03 07:23:52 +000084 * readelf.c: Lots of little cleanups. Use _unlocked functions.
85
Ulrich Dreppera60501e2005-09-02 19:50:17 +0000862005-09-02 Ulrich Drepper <drepper@redhat.com>
87
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000088 * strings.c (main): Reset elfmap variable after munmap call.
Ulrich Drepper618795f2005-09-02 20:01:37 +000089 [_MUDFLAP] (map_file): Simplify mudflap debugging by not using mmap.
Ulrich Dreppera60501e2005-09-02 19:50:17 +000090
Ulrich Drepperfbe998a2005-08-29 16:27:10 +0000912005-08-28 Ulrich Drepper <drepper@redhat.com>
92
93 * ranlib.c: Don't define pread_retry and write_retry here.
94
95 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
96 (CLEANFILES): Add *.gcno *.gcda *.gconv.
97
98 * strings.c (process_chunk): Reorder expressions in conditional
99 (process_chunk_mb): Likewise.
100
101 * strings.c: New file.
102 * Makefile.am (bin_PROGRAMS): Add strings.
103 (strings_no_Wstring): Define.
104 (strings_LDADD): Define.
105
Roland McGrath71e15a02005-08-27 10:33:26 +00001062005-08-27 Roland McGrath <roland@redhat.com>
107
108 * addr2line.c (dwarf_diename_integrate): Function removed.
109 (print_dwarf_function): Use plain dwarf_diename.
110
Ulrich Drepperc5a06cd2005-08-24 19:50:14 +00001112005-08-24 Ulrich Drepper <drepper@redhat.com>
112
113 * elflint.c (check_versym): Versioned symbols should not have
114 local binding.
115
Ulrich Drepper5d832292005-08-15 21:36:27 +00001162005-08-15 Ulrich Drepper <drepper@redhat.com>
117
Ulrich Drepper61655e02005-08-16 04:23:02 +0000118 * elflint.c (check_versym): Allow VER_NDX_LOCAL symbols to be
119 undefined.
120
Ulrich Drepper5d832292005-08-15 21:36:27 +0000121 * Makefile.am: Add rules to build ranlib.
122 * ranlib.c: New file.
123
Roland McGrath18e13422005-08-15 08:01:25 +00001242005-08-14 Roland McGrath <roland@redhat.com>
125
126 * elflint.c (check_sections): Use ebl_section_type_name and allow any
127 sh_type it recognizes.
128
129 * elflint.c (check_sections): Print unknown flags in hex, don't
130 truncate high bits. Print section number and name for unknown type.
131
Roland McGrathf6895042005-08-13 20:56:52 +00001322005-08-13 Roland McGrath <roland@redhat.com>
133
134 * elflint.c (check_program_header): Use ebl_segment_type_name and
135 allow any p_type it recognizes. Include p_type value in error
136 message for unknown type.
137
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00001382005-08-13 Ulrich Drepper <drepper@redhat.com>
139
140 * elflint.c (check_symtab): Simplify last change a bit. Pass ehdr
141 to ebl_check_special_symbol.
142 (check_sections): Pass ehdr to ebl_bss_plt_p.
143
Roland McGrath653d3762005-08-13 01:59:10 +00001442005-08-12 Roland McGrath <roland@redhat.com>
145
146 * elflint.c (check_symtab): Check that _GLOBAL_OFFSET_TABLE_ st_shndx
147 refers to the right section if it's not SHN_ABS.
148 Let ebl_check_special_symbol override _G_O_T_ value and size checks.
149
150 * elflint.c (check_sections): Don't complain about a non-NOBITS
151 section taking no segment space, if it's sh_size is 0.
152
153 * elflint.c (check_sections): Use ebl_bss_plt_p to see if .plt should
154 be PROGBITS or NOBITS.
155
156 * elflint.c (check_symtab): Use ebl_check_special_symbol to override
157 standard st_value and st_size checks.
158
Roland McGrath1c83bf12005-08-11 07:03:55 +00001592005-07-28 Roland McGrath <roland@redhat.com>
Ulrich Drepperfaf4d192005-08-11 05:12:05 +0000160
Roland McGrath1c83bf12005-08-11 07:03:55 +0000161 * addr2line.c (options, parse_opt): Don't handle -e here.
162 (executable): Variable removed.
163 (argp_children): New static variable.
164 (argp): Use it. Make const.
165 (main): Fill in argp_children from dwfl_standard_argp ().
166 Let libdwfl handle file selection, pass Dwfl handle to handle_address.
167 (print_dwarf_function): New function. Try to figure out inline chain.
168 (elf_getname): Function removed, libdwfl does it for us.
169 (handle_address): Take Dwfl handle instead of Elf, Dwarf handles.
170 Use dwfl_module_addrname instead of elf_getname.
171 Use dwfl_module_getsrc and dwfl_lineinfo instead of libdw calls.
172 * Makefile.am (INCLUDES): Add libdwfl directory to path.
173
1742005-08-10 Ulrich Drepper <drepper@redhat.com>
175
176 * strip.c (parse_opt): STATE parameter is now used.
177 Various little cleanups.
178
179 * readelf.c (print_debug_line_section): Correct fallout of renaming
180 of DW_LNS_set_epilog_begin.
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000181
Roland McGrath8f31c2c2005-08-09 04:58:05 +00001822005-08-08 Roland McGrath <roland@redhat.com>
183
184 * strip.c (options, parse_opt): Grok -R .comment for compatibility
185 with binutils strip. Likewise -d, -S, as aliases for -g.
186 Likewise ignore -s/--strip-all.
187
Roland McGrath095a01b2005-08-08 03:49:35 +00001882005-08-07 Roland McGrath <roland@redhat.com>
189
190 * strip.c (process_file): Open read-only when using a different output
191 file.
192
Ulrich Drepper47be7952005-08-07 04:41:39 +00001932005-08-06 Ulrich Drepper <drepper@redhat.com>
194
Ulrich Drepper637963b2005-08-07 05:33:07 +0000195 * elflint.c (in_nobits_scn): New function.
196 (check_versym): Allow references for defined symbols against versions
197 of other DSOs also for symbols in nobits sections.
198 Move a few variables around.
199
Ulrich Drepper47be7952005-08-07 04:41:39 +0000200 * Makefile.am (AM_CFLAGS): Avoid duplication.
201 Link with statis libs if BUILD_STATIC.
202
Ulrich Drepperdbace232005-08-06 01:37:23 +00002032005-08-05 Ulrich Drepper <drepper@redhat.com>
204
205 * elflint.c: Many, many more tests. Mostly related to symbol
206 versioning. Those sections should now be completely checked.
207
208 * readelf.c (print_dynamic): Use gelf_offscn.
209
Ulrich Drepperacb89832005-08-04 07:01:49 +00002102005-08-04 Ulrich Drepper <drepper@redhat.com>
211
212 * elflint.c: Add lots more tests: more extension symbol table sanity,
213 versioning section tests, hash table tests. General cleanup.
214
Ulrich Drepperc911c9e2005-08-02 16:07:42 +00002152005-08-02 Ulrich Drepper <drepper@redhat.com>
216
Ulrich Drepper8a687742005-08-03 02:24:12 +0000217 * objdump.c: New file.
218 * Makefile.am (bin_PROGRAMS): Add objdump.
219 (objdump_LDADD): Define.
220
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000221 * elflint.c (check_reloc_shdr): New function split out from check_rela
222 and check_rel.
223 (check_one_reloc): New function. Likewise.
224 (check_rela): Use check_reloc_shdr and check_one_reloc.
225 (check_rel): Likewise.
Ulrich Drepper41de4882005-08-03 00:02:56 +0000226 (check_program_header): Check that PT_DYNAMIC entry matches .dynamic
227 section.
228 Add checks that relocations against read-only segments are flagged,
229 that the text relocation flag is not set unnecessarily, and that
230 relocations in one section are either against loaded or not-loaded
231 segments.
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000232
Ulrich Drepper8533dcf2005-08-01 07:18:47 +00002332005-08-01 Ulrich Drepper <drepper@redhat.com>
234
235 * elfcmp.c (main): Ignore section count and section name string table
236 section index.
237
Roland McGrathf9ece8a2005-07-28 07:03:04 +00002382005-07-27 Roland McGrath <roland@redhat.com>
239
240 * elfcmp.c: Include <locale.h>.
241
Ulrich Drepper7d48d6a2005-07-27 10:13:23 +00002422005-07-27 Ulrich Drepper <drepper@redhat.com>
243
244 * elfcmp.c: Print name and index of differing section.
245
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00002462005-07-24 Ulrich Drepper <drepper@redhat.com>
247
248 * elfcmp.c: Implement comparing gaps between sections.
249
2502005-07-23 Ulrich Drepper <drepper@redhat.com>
251
252 * elflint.c: Include libeblP.h instead of libebl.h.
253 * nm.c: Likewise.
254 * readelf.c: Likewise.
255 * elfcmp.c: Likewise.
256
257 * elfcmp.c (main): Compare individual ELF header fields, excluding
258 e_shoff instead of the whole struct at once.
259 Use ebl_section_strip_p instead of SECTION_STRIP_P.
260 * strip.c: Use ebl_section_strip_p instead of SECTION_STRIP_P.
261
2622005-07-22 Ulrich Drepper <drepper@redhat.com>
263
264 * elfcmp.c (main): Take empty section into account when comparing
265 section content.
266
267 * elflint.c (check_dynamic): Check that d_tag value is >= 0 before
268 using it.
269
2702005-07-21 Ulrich Drepper <drepper@redhat.com>
271
272 * elfcmp.c: New file.
273 * Makefile.am (bin_PROGRAMS): Add elfcmp.
274 (elfcmp_LDADD): Define.
275
276 * elflint.c (check_rela): Check that copy relocations only reference
277 object symbols or symbols with unknown type.
278 (check_rel): Likewise.
279
2802005-06-08 Roland McGrath <roland@redhat.com>
281
282 * readelf.c (print_ops): Add consts.
283
2842005-05-31 Roland McGrath <roland@redhat.com>
285
286 * readelf.c (print_debug_abbrev_section): Don't bail after first CU's
287 abbreviations. Print a header line before each CU section.
288
289 * readelf.c (print_debug_loc_section): Fix indentation for larger
290 address size.
291
2922005-05-30 Roland McGrath <roland@redhat.com>
293
294 * readelf.c (print_debug_line_section): Print section offset of each
295 CU's table, so they are easy to find from seeing the stmt_list value.
296
297 * readelf.c (dwarf_attr_string): Add all attributes in <dwarf.h>.
298 (attr_callback): Grok DW_AT_ranges and print offset in hex.
299
300 * readelf.c (attr_callback): Add 2 to addrsize * 2 for %#0* format.
301 (print_debug_ranges_section, print_debug_loc_section): Likewise.
302
303 * readelf.c (print_ops): Take different args for indentation control.
304 (attr_callback): Caller updated.
305 Grok several more block-form attributes as being location expressions.
306 For those same attributes with udata forms, format output differently
307 for location list offset.
308 (print_debug_loc_section): Implement it for real.
309
310 * readelf.c (options): Mention ranges for --debug-dump.
311 (enum section_e): Add section_ranges.
312 (parse_opt): Grok "ranges" for -w/--debug-dump.
313 (print_debug_ranges_section): New function.
314 (print_debug): Handle .debug_ranges section.
315
3162005-05-30 Ulrich Drepper <drepper@redhat.com>
317
318 * readelf.c (handle_notes): At least x86-64 need not have the note
319 section values aligned to 8 bytes.
320
3212005-05-18 Ulrich Drepper <drepper@redhat.com>
322
323 * readelf.c (dwarf_tag_string): Add new tags.
324
3252005-05-08 Roland McGrath <roland@redhat.com>
326
327 * strip.c (handle_elf): Don't translate hash and versym data formats,
328 elf_getdata already did it for us.
329
3302005-05-07 Ulrich Drepper <drepper@redhat.com>
331
332 * Makefile.am (findtextrel_LDADD): Add $(libmudflap).
333 (addr2line_LDADD): Likewise.
334
3352005-05-03 Roland McGrath <roland@redhat.com>
336
337 * strip.c (handle_elf): Apply symbol table fixups to discarded
338 relocation sections when they are being saved in the debug file.
339
340 * strip.c (handle_elf): Pass EHDR->e_ident[EI_DATA] to gelf_xlatetom
341 and gelf_xlatetof, not the native byte order.
342
343 * strip.c (parse_opt): Give error if -f or -o is repeated.
344 (main): Exit if argp_parse returns nonzero.
345
346 * strip.c (debug_fname_embed): New variable.
347 (options, parse_opt): New option -F to set it.
348
3492005-05-07 Ulrich Drepper <drepper@redhat.com>
350
351 * readelf.c (parse_opt): Make any_control_option variable
352 local. Simplify some tests.
353
3542005-05-03 Roland McGrath <roland@redhat.com>
355
356 * strip.c (crc32_file): Function removed (now in ../lib).
357
3582005-05-03 Roland McGrath <roland@redhat.com>
359
360 * elflint.c (is_debuginfo): New variable.
361 (options, parse_opt): New option --debuginfo/-d to set it.
362 (check_sections): If is_debuginfo, don't complain about SHT_NOBITS.
363 (check_note): If is_debuginfo, don't try to get note contents.
364
3652005-04-24 Ulrich Drepper <drepper@redhat.com>
366
367 * readelf.c (print_debug_abbrev_section): Don't print error when end of
368 section reached.
369
3702005-04-14 Ulrich Drepper <drepper@redhat.com>
371
372 * readelf.c (dwarf_encoding_string): New function.
373 (dwarf_inline_string): New function.
374 (dwarf_access_string): New function.
375 (dwarf_visibility_string): New function.
376 (dwarf_virtuality_string): New function.
377 (dwarf_identifier_case_string): New function.
378 (dwarf_calling_convention_string): New function.
379 (dwarf_ordering_string): New function.
380 (dwarf_discr_list_string): New function.
381 (attr_callback): Decode man more attribute values.
382
3832005-04-01 Ulrich Drepper <drepper@redhat.com>
384
385 * addr2line.c: Finish implementation of -f option.
386
3872005-03-29 Ulrich Drepper <drepper@redhat.com>
388
389 * addr2line.c: New file.
390 * Makefile.am (bin_PROGRAMS): Add addr2line.
391 Define addr2line_LDADD.
392
393 * findtextrel.c: Use new dwarf_addrdie function.
394
395 * findtextrel.c: Fix usage message and re-add accidentally removed
396 line.
397
3982005-03-28 Ulrich Drepper <drepper@redhat.com>
399
400 * findtextrel.c: New file.
401 * Makefile: Add rules to build findtextrel.
402
4032005-02-15 Ulrich Drepper <drepper@redhat.com>
404
405 * ldlex.l: Provide ECHO definition to avoid warning.
406
407 * elflint.c (check_program_header): Fix typo in RELRO test.
408
409 * Makefile.am (AM_CFLAGS): Add more warning options.
410 * elflint.c: Fix warnings introduced by the new warning options.
411 * i386_ld.c: Likewise.
412 * ld.c: Likewise.
413 * ld.h: Likewise.
414 * ldgeneric.c: Likewise.
415 * nm.c: Likewise.
416 * readelf.c: Likewise.
417 * sectionhash.c: Likewise.
418 * size.c: Likewise.
419 * string.c: Likewise.
420
4212005-02-05 Ulrich Drepper <drepper@redhat.com>
422
423 * Makefile.am: Check for text relocations in constructed DSOs.
424
425 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all apps
426 with -lmudflap.
427
428 * ldscript.y: Add as_needed handling.
429 * ldlex.l: Recognize AS_NEEDED token.
430 * ld.h (struct filename_list): Add as_needed flag.
431
4322005-02-04 Ulrich Drepper <drepper@redhat.com>
433
434 * elflint.c (check_symtab): Correctly determine size of GOT section.
435
4362005-01-19 Ulrich Drepper <drepper@redhat.com>
437
438 * ld.c: Remove unnecessary more_help function. Print bug report
439 address using argp.
440 * strip.c: Likewise.
441 * size.c: Likewise.
442 * nm.c: Likewise.
443 * readelf.c: Likewise.
444 * elflint.c: Likewise.
445
446 * elflint.c (main): Don't check for parameter problems here.
447 (parse_opt): Do it here, where we get informed about some of them
448 anyway.
449
450 * readelf.c (main): Don't check for parameter problems here.
451 (parse_opt): Do it here, where we get informed about some of them
452 anyway.
453
4542005-01-11 Ulrich Drepper <drepper@redhat.com>
455
456 * strip.c: Update copyright year.
457 * readelf.c: Likewise.
458 * size.c: Likewise.
459 * nm.c: Likewise.
460 * ld.c: Likewise.
461 * elflint.c: Likewise.
462
463 * elflint.c (check_symtab): Don't warn about wrong size for
464 _DYNAMIC and __GLOBAL_OFFSET_TABLE__ for --gnu-ld.
465
4662004-10-05 Ulrich Drepper <drepper@redhat.com>
467
468 * readelf.c (print_phdr): In section mapping, also indicate
469 sections in read-only segments.
470
4712004-09-25 Ulrich Drepper <drepper@redhat.com>
472
473 * readelf.c: Make compile with gcc 4.0.
474 * strip.c: Likewise.
475
4762004-08-16 Ulrich Drepper <drepper@redhat.com>
477
478 * strip.c (handle_elf): Rewrite dynamic memory handling to use of
479 allocate to work around gcc 3.4 bug.
480
4812004-01-25 Ulrich Drepper <drepper@redhat.com>
482
483 * ldlex.l (invalid_char): Better error message.
484
4852004-01-23 Ulrich Drepper <drepper@redhat.com>
486
487 * readelf.c: Print SHT_GNU_LIBLIST sections.
488
489 * none_ld.c: New file.
490
4912004-01-21 Ulrich Drepper <drepper@redhat.com>
492
493 * Makefile.am: Enable building of machine specific linker.
494
4952004-01-20 Ulrich Drepper <drepper@redhat.com>
496
497 * Makefile.am: Support building with mudflap.
498
499 * i386_ld.c: Fix warnings gcc 3.4 spits out.
500 * ldgeneric.c: Likewise.
501 * ldscript.y: Likewise.
502 * readelf.c: Likewise.
503 * strip.c: Likewise.
504
505 * readelf.c (print_debug_line_section): Determine address size
506 correctly.
507
5082004-01-19 Ulrich Drepper <drepper@redhat.com>
509
510 * readelf.c (print_phdr): Show which sections are covered by the
511 PT_GNU_RELRO entry.
512
513 * elflint.c (check_program_header): Check PT_GNU_RELRO entry.
514
515 * readelf.c (print_debug_macinfo_section): Implement.
516
5172004-01-18 Ulrich Drepper <drepper@redhat.com>
518
519 * readelf.c (print_debug_line_section): Implement.
520
5212004-01-17 Ulrich Drepper <drepper@redhat.com>
522
523 * src/elflint.c: Use PACKAGE_NAME instead of PACKAGE.
524 * src/ld.c: Likewise.
525 * src/nm.c: Likewise.
526 * src/readelf.c: Likewise.
527 * src/size.c: Likewise.
528 * src/strip.c: Likewise.
529
530 * strip.c: Add a few more unlikely. Reduce scope of some variables.
531
532 * Makefile.am: Support building with mudflap.
533
5342004-01-16 Ulrich Drepper <drepper@redhat.com>
535
536 * readelf.c (print_debug_info_section): Free dies memory.
537
538 * readelf.c: Print .debug_info section content.
539
5402004-01-13 Ulrich Drepper <drepper@redhat.com>
541
542 * readelf.c (print_shdr): Add support for SHF_ORDERED and SHF_EXCLUDE.
543
5442004-01-12 Ulrich Drepper <drepper@redhat.com>
545
546 * readelf.c (print_debug_aranges): Implement using libdw.
547
5482004-01-11 Ulrich Drepper <drepper@redhat.com>
549
550 * nm.c: Adjust for Dwarf_Files type and dwarf_lineno interface change.
551
552 * readelf.c: Use libdw instead of libdwarf. Not all of the old
553 behavior is available yet.
554 * Makefile.am: Link readelf with libdw. Remove libdwarf include path.
555
5562004-01-09 Ulrich Drepper <drepper@redhat.com>
557
558 * nm.c (get_local_names): Adjust call to dwarf_nextcu.
559
560 * nm.c: Implement getting information about local variables.
561
5622004-01-07 Ulrich Drepper <drepper@redhat.com>
563
564 * nm.c: Read also debug information for local symbols.
565
5662004-01-05 Ulrich Drepper <drepper@redhat.com>
567
568 * nm.c: Shuffle dwarf handling code around so the maximum column
569 width can be computed ahead of printing. Avoid collection symbols
570 which are not printed anyway.
571
572 * nm.c: Rewrite dwarf handling to use libdw.
573 * Makefile.am (AM_CFLAGS): Add -std parameter.
574 (INCLUDES): Find header in libdw subdir.
575 (nm_LDADD): Replace libdwarf with libdw.
576
577 * elflint.c: Update copyright year.
578 * readelf.c: Likewise.
579 * size.c: Likewise.
580 * strip.c: Likewise.
581 * nm.c: Likewise.
582
5832003-12-31 Ulrich Drepper <drepper@redhat.com>
584
585 * strip.c (process_file): Close file before returning.
586
5872003-11-19 Ulrich Drepper <drepper@redhat.com>
588
589 * readelf.c (handle_dynamic): Make column for tag name wider.
590
5912003-09-29 Ulrich Drepper <drepper@redhat.com>
592
593 * readelf.c (handle_dynamic): Always terminate tag name with a space.
594
5952003-09-25 Ulrich Drepper <drepper@redhat.com>
596
597 * strip.c (process_file): Don't mmap the input file, we modify the
598 data structures and don't want the change end up on disk.
599
6002003-09-23 Jakub Jelinek <jakub@redhat.com>
601
602 * unaligned.h (union u_2ubyte_unaligned,
603 union u_4ubyte_unaligned, union u_8ubyte_unaligned): Add
604 packed attribute.
605 (add_2ubyte_unaligned, add_4ubyte_unaligned,
606 add_8ubyte_unaligned): Avoid nesting bswap_NN macros.
607 Read/store value through _ptr->u instead of *_ptr.
608
6092003-09-22 Ulrich Drepper <drepper@redhat.com>
610
611 * size.c (show_sysv): Change type of maxlen to int.
612
613 * strip.c (handle_elf): Handle the 64-bit archs which is 64-bit
614 buckets.
615
616 * i386_ld.c: Many many fixes and extensions.
617 * ld.c: Likewise.
618 * ldgeneric.c: Likewise.
619
6202003-08-16 Ulrich Drepper <drepper@redhat.com>
621
622 * ldgeneric.c (check_definition): Don't add symbol on dso_list if
623 the reference is from another DSO.
624
6252003-08-15 Ulrich Drepper <drepper@redhat.com>
626
627 * ldgeneric.c (find_entry_point): It is no fatal error if no entry
628 point is found when creating a DSO.
629
6302003-08-14 Ulrich Drepper <drepper@redhat.com>
631
632 * ld.c (main): Always call FLAG_UNRESOLVED.
633 * ldgeneric.c (ld_generic_flag_unresolved): Only complain about
634 undefined symbols if not creating DSO or ld_state.nodefs is not set.
635
6362003-08-13 Ulrich Drepper <drepper@redhat.com>
637
638 * Makefile.in: Depend on libebl.a, not libebl.so.
639
640 * ld.c (main): Mark stream for linker script as locked by caller.
641 (read_version_script): Likewise.
642 * ldlex.c: Define fread and fwrite to _unlocked variant.
643
644 * i386_ld.c (elf_i386_finalize_plt): Replace #ifdefs with uses of
645 target_bswap_32.
646 * unaligned.h: Define target_bswap_16, target_bswap_32, and
647 target_bswap_64.
648 (store_2ubyte_unaligned, store_4ubyte_unaligned,
649 store_8ubyte_unaligned): Define using new macros.
650
6512003-08-12 Ulrich Drepper <drepper@redhat.com>
652
653 * i386_ld.c (elf_i386_finalize_plt): Use packed structs to access
654 possibly unaligned memory. Support use of big endian machines.
655
6562003-08-11 Ulrich Drepper <drepper@redhat.com>
657
658 * Moved to CVS archive.