blob: 70ab5457a41d8c19d6df2d8c083049cf1c5fd925 [file] [log] [blame]
Ulrich Drepper8c56fe32006-05-31 15:50:43 +000012006-05-31 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper11b030e2006-05-28 20:28:19 +00002
Ulrich Drepper8c56fe32006-05-31 15:50:43 +00003 * ld.c: Recognize --as-needed and --no-as-needed options.
4 * ld.h (struct usedfile): Add as_needed field.
5 (struct ld_state): Likewise.
6 * ldgeneric.c (ld_handle_filename_list): Copy as_needed flag from
7 the list.
8 * ldscript.y (filename_id_list): Split to correctly parse all
9 combinations.
10 (mark_as_needed): Fix loop.
Ulrich Drepper11b030e2006-05-28 20:28:19 +000011
Ulrich Drepperbdb29c02006-06-04 18:33:56 +0000122006-05-28 Ulrich Drepper <drepper@redhat.com>
13
14 * addr2line.c (print_dwarf_function): Use unsigned type for lineno
15 and colno.
16
Ulrich Drepper2cb8e732006-05-27 21:57:27 +0000172006-05-27 Ulrich Drepper <drepper@redhat.com>
18
19 * readelf.c (handle_relocs_rela): Better notations for addon value.
Ulrich Drepper41a99082006-05-28 00:01:43 +000020 (print_ehdr): Distinguish e_ident[EI_VERSION] from e_version.
Ulrich Drepper2cb8e732006-05-27 21:57:27 +000021
Ulrich Drepper82c345d2006-04-04 22:07:54 +0000222006-04-04 Ulrich Drepper <drepper@redhat.com>
23
24 * addr2line.c: Update copyright year.
25 * elfcmp.c: Likewise.
26 * elflint.c: Likewise.
27 * findtextrel.c: Likewise.
28 * ld.c: Likewise.
29 * nm.c: Likewise.
30 * objdump.c: Likewise.
31 * ranlib.c: Likewise.
32 * readelf.c: Likewise.
33 * size.c: Likewise.
34 * strings.c: Likewise.
35 * strip.c: Likewise.
36
Roland McGrathdd7e22b2006-03-09 23:05:47 +0000372006-03-09 Roland McGrath <roland@redhat.com>
38
39 * Makefile.am (AM_LDFLAGS): New variable.
40
Roland McGrath060fa052006-03-02 07:51:50 +0000412006-03-01 Roland McGrath <roland@redhat.com>
42
43 * readelf.c (dwarf_tag_string, dwarf_attr_string): Update name tables
44 for dwarf.h changes matching 3.0 spec.
45 (dwarf_encoding_string, dwarf_lang_string, print_ops): Likewise.
46
Ulrich Drepper038129b2005-12-04 16:47:24 +0000472005-12-04 Ulrich Drepper <drepper@redhat.com>
48
49 * elflint.c (check_one_reloc): If relocation section is not loaded,
50 don't check whether the relocations modify read-only sections or
51 loaded and unloaded sections.
52
Ulrich Drepper607e0542005-12-04 15:51:06 +0000532005-11-28 Ulrich Drepper <drepper@redhat.com>
54
55 * elflint.c (check_one_reloc): Take additional parameters. Use
56 them to determine whether relocation is valid in this type of
57 file. DSOs and executables can contain relocation sections in
58 unloaded sections which just show the relocations the linker
59 applied. Adjust all callers.
60 (check_program_header): Check that PT_PHDR is loaded and that offset
61 matches the one in the ELF header.
62
Roland McGrath6724c902005-10-28 07:07:19 +0000632005-10-26 Roland McGrath <roland@redhat.com>
64
65 * nm.c (get_var_range): dwarf_getloclist -> dwarf_getlocation.
66
Ulrich Drepperd0449522005-09-03 07:23:52 +0000672005-09-03 Ulrich Drepper <drepper@redhat.com>
68
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000069 * strip.c (handle_elf): Unify some error messages.
70 * ld.c (main): Likewise.
71 * ldgeneric.c (open_elf): Likewise.
72 * elfcmp.c (main): Likewise.
73 * elflint.c (check_elf_header): Likewise.
74
75 * size.c (process_file): Fix typo in error message.
76
Ulrich Drepperd0449522005-09-03 07:23:52 +000077 * readelf.c: Lots of little cleanups. Use _unlocked functions.
78
Ulrich Dreppera60501e2005-09-02 19:50:17 +0000792005-09-02 Ulrich Drepper <drepper@redhat.com>
80
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000081 * strings.c (main): Reset elfmap variable after munmap call.
Ulrich Drepper618795f2005-09-02 20:01:37 +000082 [_MUDFLAP] (map_file): Simplify mudflap debugging by not using mmap.
Ulrich Dreppera60501e2005-09-02 19:50:17 +000083
Ulrich Drepperfbe998a2005-08-29 16:27:10 +0000842005-08-28 Ulrich Drepper <drepper@redhat.com>
85
86 * ranlib.c: Don't define pread_retry and write_retry here.
87
88 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
89 (CLEANFILES): Add *.gcno *.gcda *.gconv.
90
91 * strings.c (process_chunk): Reorder expressions in conditional
92 (process_chunk_mb): Likewise.
93
94 * strings.c: New file.
95 * Makefile.am (bin_PROGRAMS): Add strings.
96 (strings_no_Wstring): Define.
97 (strings_LDADD): Define.
98
Roland McGrath71e15a02005-08-27 10:33:26 +0000992005-08-27 Roland McGrath <roland@redhat.com>
100
101 * addr2line.c (dwarf_diename_integrate): Function removed.
102 (print_dwarf_function): Use plain dwarf_diename.
103
Ulrich Drepperc5a06cd2005-08-24 19:50:14 +00001042005-08-24 Ulrich Drepper <drepper@redhat.com>
105
106 * elflint.c (check_versym): Versioned symbols should not have
107 local binding.
108
Ulrich Drepper5d832292005-08-15 21:36:27 +00001092005-08-15 Ulrich Drepper <drepper@redhat.com>
110
Ulrich Drepper61655e02005-08-16 04:23:02 +0000111 * elflint.c (check_versym): Allow VER_NDX_LOCAL symbols to be
112 undefined.
113
Ulrich Drepper5d832292005-08-15 21:36:27 +0000114 * Makefile.am: Add rules to build ranlib.
115 * ranlib.c: New file.
116
Roland McGrath18e13422005-08-15 08:01:25 +00001172005-08-14 Roland McGrath <roland@redhat.com>
118
119 * elflint.c (check_sections): Use ebl_section_type_name and allow any
120 sh_type it recognizes.
121
122 * elflint.c (check_sections): Print unknown flags in hex, don't
123 truncate high bits. Print section number and name for unknown type.
124
Roland McGrathf6895042005-08-13 20:56:52 +00001252005-08-13 Roland McGrath <roland@redhat.com>
126
127 * elflint.c (check_program_header): Use ebl_segment_type_name and
128 allow any p_type it recognizes. Include p_type value in error
129 message for unknown type.
130
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00001312005-08-13 Ulrich Drepper <drepper@redhat.com>
132
133 * elflint.c (check_symtab): Simplify last change a bit. Pass ehdr
134 to ebl_check_special_symbol.
135 (check_sections): Pass ehdr to ebl_bss_plt_p.
136
Roland McGrath653d3762005-08-13 01:59:10 +00001372005-08-12 Roland McGrath <roland@redhat.com>
138
139 * elflint.c (check_symtab): Check that _GLOBAL_OFFSET_TABLE_ st_shndx
140 refers to the right section if it's not SHN_ABS.
141 Let ebl_check_special_symbol override _G_O_T_ value and size checks.
142
143 * elflint.c (check_sections): Don't complain about a non-NOBITS
144 section taking no segment space, if it's sh_size is 0.
145
146 * elflint.c (check_sections): Use ebl_bss_plt_p to see if .plt should
147 be PROGBITS or NOBITS.
148
149 * elflint.c (check_symtab): Use ebl_check_special_symbol to override
150 standard st_value and st_size checks.
151
Roland McGrath1c83bf12005-08-11 07:03:55 +00001522005-07-28 Roland McGrath <roland@redhat.com>
Ulrich Drepperfaf4d192005-08-11 05:12:05 +0000153
Roland McGrath1c83bf12005-08-11 07:03:55 +0000154 * addr2line.c (options, parse_opt): Don't handle -e here.
155 (executable): Variable removed.
156 (argp_children): New static variable.
157 (argp): Use it. Make const.
158 (main): Fill in argp_children from dwfl_standard_argp ().
159 Let libdwfl handle file selection, pass Dwfl handle to handle_address.
160 (print_dwarf_function): New function. Try to figure out inline chain.
161 (elf_getname): Function removed, libdwfl does it for us.
162 (handle_address): Take Dwfl handle instead of Elf, Dwarf handles.
163 Use dwfl_module_addrname instead of elf_getname.
164 Use dwfl_module_getsrc and dwfl_lineinfo instead of libdw calls.
165 * Makefile.am (INCLUDES): Add libdwfl directory to path.
166
1672005-08-10 Ulrich Drepper <drepper@redhat.com>
168
169 * strip.c (parse_opt): STATE parameter is now used.
170 Various little cleanups.
171
172 * readelf.c (print_debug_line_section): Correct fallout of renaming
173 of DW_LNS_set_epilog_begin.
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000174
Roland McGrath8f31c2c2005-08-09 04:58:05 +00001752005-08-08 Roland McGrath <roland@redhat.com>
176
177 * strip.c (options, parse_opt): Grok -R .comment for compatibility
178 with binutils strip. Likewise -d, -S, as aliases for -g.
179 Likewise ignore -s/--strip-all.
180
Roland McGrath095a01b2005-08-08 03:49:35 +00001812005-08-07 Roland McGrath <roland@redhat.com>
182
183 * strip.c (process_file): Open read-only when using a different output
184 file.
185
Ulrich Drepper47be7952005-08-07 04:41:39 +00001862005-08-06 Ulrich Drepper <drepper@redhat.com>
187
Ulrich Drepper637963b2005-08-07 05:33:07 +0000188 * elflint.c (in_nobits_scn): New function.
189 (check_versym): Allow references for defined symbols against versions
190 of other DSOs also for symbols in nobits sections.
191 Move a few variables around.
192
Ulrich Drepper47be7952005-08-07 04:41:39 +0000193 * Makefile.am (AM_CFLAGS): Avoid duplication.
194 Link with statis libs if BUILD_STATIC.
195
Ulrich Drepperdbace232005-08-06 01:37:23 +00001962005-08-05 Ulrich Drepper <drepper@redhat.com>
197
198 * elflint.c: Many, many more tests. Mostly related to symbol
199 versioning. Those sections should now be completely checked.
200
201 * readelf.c (print_dynamic): Use gelf_offscn.
202
Ulrich Drepperacb89832005-08-04 07:01:49 +00002032005-08-04 Ulrich Drepper <drepper@redhat.com>
204
205 * elflint.c: Add lots more tests: more extension symbol table sanity,
206 versioning section tests, hash table tests. General cleanup.
207
Ulrich Drepperc911c9e2005-08-02 16:07:42 +00002082005-08-02 Ulrich Drepper <drepper@redhat.com>
209
Ulrich Drepper8a687742005-08-03 02:24:12 +0000210 * objdump.c: New file.
211 * Makefile.am (bin_PROGRAMS): Add objdump.
212 (objdump_LDADD): Define.
213
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000214 * elflint.c (check_reloc_shdr): New function split out from check_rela
215 and check_rel.
216 (check_one_reloc): New function. Likewise.
217 (check_rela): Use check_reloc_shdr and check_one_reloc.
218 (check_rel): Likewise.
Ulrich Drepper41de4882005-08-03 00:02:56 +0000219 (check_program_header): Check that PT_DYNAMIC entry matches .dynamic
220 section.
221 Add checks that relocations against read-only segments are flagged,
222 that the text relocation flag is not set unnecessarily, and that
223 relocations in one section are either against loaded or not-loaded
224 segments.
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000225
Ulrich Drepper8533dcf2005-08-01 07:18:47 +00002262005-08-01 Ulrich Drepper <drepper@redhat.com>
227
228 * elfcmp.c (main): Ignore section count and section name string table
229 section index.
230
Roland McGrathf9ece8a2005-07-28 07:03:04 +00002312005-07-27 Roland McGrath <roland@redhat.com>
232
233 * elfcmp.c: Include <locale.h>.
234
Ulrich Drepper7d48d6a2005-07-27 10:13:23 +00002352005-07-27 Ulrich Drepper <drepper@redhat.com>
236
237 * elfcmp.c: Print name and index of differing section.
238
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00002392005-07-24 Ulrich Drepper <drepper@redhat.com>
240
241 * elfcmp.c: Implement comparing gaps between sections.
242
2432005-07-23 Ulrich Drepper <drepper@redhat.com>
244
245 * elflint.c: Include libeblP.h instead of libebl.h.
246 * nm.c: Likewise.
247 * readelf.c: Likewise.
248 * elfcmp.c: Likewise.
249
250 * elfcmp.c (main): Compare individual ELF header fields, excluding
251 e_shoff instead of the whole struct at once.
252 Use ebl_section_strip_p instead of SECTION_STRIP_P.
253 * strip.c: Use ebl_section_strip_p instead of SECTION_STRIP_P.
254
2552005-07-22 Ulrich Drepper <drepper@redhat.com>
256
257 * elfcmp.c (main): Take empty section into account when comparing
258 section content.
259
260 * elflint.c (check_dynamic): Check that d_tag value is >= 0 before
261 using it.
262
2632005-07-21 Ulrich Drepper <drepper@redhat.com>
264
265 * elfcmp.c: New file.
266 * Makefile.am (bin_PROGRAMS): Add elfcmp.
267 (elfcmp_LDADD): Define.
268
269 * elflint.c (check_rela): Check that copy relocations only reference
270 object symbols or symbols with unknown type.
271 (check_rel): Likewise.
272
2732005-06-08 Roland McGrath <roland@redhat.com>
274
275 * readelf.c (print_ops): Add consts.
276
2772005-05-31 Roland McGrath <roland@redhat.com>
278
279 * readelf.c (print_debug_abbrev_section): Don't bail after first CU's
280 abbreviations. Print a header line before each CU section.
281
282 * readelf.c (print_debug_loc_section): Fix indentation for larger
283 address size.
284
2852005-05-30 Roland McGrath <roland@redhat.com>
286
287 * readelf.c (print_debug_line_section): Print section offset of each
288 CU's table, so they are easy to find from seeing the stmt_list value.
289
290 * readelf.c (dwarf_attr_string): Add all attributes in <dwarf.h>.
291 (attr_callback): Grok DW_AT_ranges and print offset in hex.
292
293 * readelf.c (attr_callback): Add 2 to addrsize * 2 for %#0* format.
294 (print_debug_ranges_section, print_debug_loc_section): Likewise.
295
296 * readelf.c (print_ops): Take different args for indentation control.
297 (attr_callback): Caller updated.
298 Grok several more block-form attributes as being location expressions.
299 For those same attributes with udata forms, format output differently
300 for location list offset.
301 (print_debug_loc_section): Implement it for real.
302
303 * readelf.c (options): Mention ranges for --debug-dump.
304 (enum section_e): Add section_ranges.
305 (parse_opt): Grok "ranges" for -w/--debug-dump.
306 (print_debug_ranges_section): New function.
307 (print_debug): Handle .debug_ranges section.
308
3092005-05-30 Ulrich Drepper <drepper@redhat.com>
310
311 * readelf.c (handle_notes): At least x86-64 need not have the note
312 section values aligned to 8 bytes.
313
3142005-05-18 Ulrich Drepper <drepper@redhat.com>
315
316 * readelf.c (dwarf_tag_string): Add new tags.
317
3182005-05-08 Roland McGrath <roland@redhat.com>
319
320 * strip.c (handle_elf): Don't translate hash and versym data formats,
321 elf_getdata already did it for us.
322
3232005-05-07 Ulrich Drepper <drepper@redhat.com>
324
325 * Makefile.am (findtextrel_LDADD): Add $(libmudflap).
326 (addr2line_LDADD): Likewise.
327
3282005-05-03 Roland McGrath <roland@redhat.com>
329
330 * strip.c (handle_elf): Apply symbol table fixups to discarded
331 relocation sections when they are being saved in the debug file.
332
333 * strip.c (handle_elf): Pass EHDR->e_ident[EI_DATA] to gelf_xlatetom
334 and gelf_xlatetof, not the native byte order.
335
336 * strip.c (parse_opt): Give error if -f or -o is repeated.
337 (main): Exit if argp_parse returns nonzero.
338
339 * strip.c (debug_fname_embed): New variable.
340 (options, parse_opt): New option -F to set it.
341
3422005-05-07 Ulrich Drepper <drepper@redhat.com>
343
344 * readelf.c (parse_opt): Make any_control_option variable
345 local. Simplify some tests.
346
3472005-05-03 Roland McGrath <roland@redhat.com>
348
349 * strip.c (crc32_file): Function removed (now in ../lib).
350
3512005-05-03 Roland McGrath <roland@redhat.com>
352
353 * elflint.c (is_debuginfo): New variable.
354 (options, parse_opt): New option --debuginfo/-d to set it.
355 (check_sections): If is_debuginfo, don't complain about SHT_NOBITS.
356 (check_note): If is_debuginfo, don't try to get note contents.
357
3582005-04-24 Ulrich Drepper <drepper@redhat.com>
359
360 * readelf.c (print_debug_abbrev_section): Don't print error when end of
361 section reached.
362
3632005-04-14 Ulrich Drepper <drepper@redhat.com>
364
365 * readelf.c (dwarf_encoding_string): New function.
366 (dwarf_inline_string): New function.
367 (dwarf_access_string): New function.
368 (dwarf_visibility_string): New function.
369 (dwarf_virtuality_string): New function.
370 (dwarf_identifier_case_string): New function.
371 (dwarf_calling_convention_string): New function.
372 (dwarf_ordering_string): New function.
373 (dwarf_discr_list_string): New function.
374 (attr_callback): Decode man more attribute values.
375
3762005-04-01 Ulrich Drepper <drepper@redhat.com>
377
378 * addr2line.c: Finish implementation of -f option.
379
3802005-03-29 Ulrich Drepper <drepper@redhat.com>
381
382 * addr2line.c: New file.
383 * Makefile.am (bin_PROGRAMS): Add addr2line.
384 Define addr2line_LDADD.
385
386 * findtextrel.c: Use new dwarf_addrdie function.
387
388 * findtextrel.c: Fix usage message and re-add accidentally removed
389 line.
390
3912005-03-28 Ulrich Drepper <drepper@redhat.com>
392
393 * findtextrel.c: New file.
394 * Makefile: Add rules to build findtextrel.
395
3962005-02-15 Ulrich Drepper <drepper@redhat.com>
397
398 * ldlex.l: Provide ECHO definition to avoid warning.
399
400 * elflint.c (check_program_header): Fix typo in RELRO test.
401
402 * Makefile.am (AM_CFLAGS): Add more warning options.
403 * elflint.c: Fix warnings introduced by the new warning options.
404 * i386_ld.c: Likewise.
405 * ld.c: Likewise.
406 * ld.h: Likewise.
407 * ldgeneric.c: Likewise.
408 * nm.c: Likewise.
409 * readelf.c: Likewise.
410 * sectionhash.c: Likewise.
411 * size.c: Likewise.
412 * string.c: Likewise.
413
4142005-02-05 Ulrich Drepper <drepper@redhat.com>
415
416 * Makefile.am: Check for text relocations in constructed DSOs.
417
418 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all apps
419 with -lmudflap.
420
421 * ldscript.y: Add as_needed handling.
422 * ldlex.l: Recognize AS_NEEDED token.
423 * ld.h (struct filename_list): Add as_needed flag.
424
4252005-02-04 Ulrich Drepper <drepper@redhat.com>
426
427 * elflint.c (check_symtab): Correctly determine size of GOT section.
428
4292005-01-19 Ulrich Drepper <drepper@redhat.com>
430
431 * ld.c: Remove unnecessary more_help function. Print bug report
432 address using argp.
433 * strip.c: Likewise.
434 * size.c: Likewise.
435 * nm.c: Likewise.
436 * readelf.c: Likewise.
437 * elflint.c: Likewise.
438
439 * elflint.c (main): Don't check for parameter problems here.
440 (parse_opt): Do it here, where we get informed about some of them
441 anyway.
442
443 * readelf.c (main): Don't check for parameter problems here.
444 (parse_opt): Do it here, where we get informed about some of them
445 anyway.
446
4472005-01-11 Ulrich Drepper <drepper@redhat.com>
448
449 * strip.c: Update copyright year.
450 * readelf.c: Likewise.
451 * size.c: Likewise.
452 * nm.c: Likewise.
453 * ld.c: Likewise.
454 * elflint.c: Likewise.
455
456 * elflint.c (check_symtab): Don't warn about wrong size for
457 _DYNAMIC and __GLOBAL_OFFSET_TABLE__ for --gnu-ld.
458
4592004-10-05 Ulrich Drepper <drepper@redhat.com>
460
461 * readelf.c (print_phdr): In section mapping, also indicate
462 sections in read-only segments.
463
4642004-09-25 Ulrich Drepper <drepper@redhat.com>
465
466 * readelf.c: Make compile with gcc 4.0.
467 * strip.c: Likewise.
468
4692004-08-16 Ulrich Drepper <drepper@redhat.com>
470
471 * strip.c (handle_elf): Rewrite dynamic memory handling to use of
472 allocate to work around gcc 3.4 bug.
473
4742004-01-25 Ulrich Drepper <drepper@redhat.com>
475
476 * ldlex.l (invalid_char): Better error message.
477
4782004-01-23 Ulrich Drepper <drepper@redhat.com>
479
480 * readelf.c: Print SHT_GNU_LIBLIST sections.
481
482 * none_ld.c: New file.
483
4842004-01-21 Ulrich Drepper <drepper@redhat.com>
485
486 * Makefile.am: Enable building of machine specific linker.
487
4882004-01-20 Ulrich Drepper <drepper@redhat.com>
489
490 * Makefile.am: Support building with mudflap.
491
492 * i386_ld.c: Fix warnings gcc 3.4 spits out.
493 * ldgeneric.c: Likewise.
494 * ldscript.y: Likewise.
495 * readelf.c: Likewise.
496 * strip.c: Likewise.
497
498 * readelf.c (print_debug_line_section): Determine address size
499 correctly.
500
5012004-01-19 Ulrich Drepper <drepper@redhat.com>
502
503 * readelf.c (print_phdr): Show which sections are covered by the
504 PT_GNU_RELRO entry.
505
506 * elflint.c (check_program_header): Check PT_GNU_RELRO entry.
507
508 * readelf.c (print_debug_macinfo_section): Implement.
509
5102004-01-18 Ulrich Drepper <drepper@redhat.com>
511
512 * readelf.c (print_debug_line_section): Implement.
513
5142004-01-17 Ulrich Drepper <drepper@redhat.com>
515
516 * src/elflint.c: Use PACKAGE_NAME instead of PACKAGE.
517 * src/ld.c: Likewise.
518 * src/nm.c: Likewise.
519 * src/readelf.c: Likewise.
520 * src/size.c: Likewise.
521 * src/strip.c: Likewise.
522
523 * strip.c: Add a few more unlikely. Reduce scope of some variables.
524
525 * Makefile.am: Support building with mudflap.
526
5272004-01-16 Ulrich Drepper <drepper@redhat.com>
528
529 * readelf.c (print_debug_info_section): Free dies memory.
530
531 * readelf.c: Print .debug_info section content.
532
5332004-01-13 Ulrich Drepper <drepper@redhat.com>
534
535 * readelf.c (print_shdr): Add support for SHF_ORDERED and SHF_EXCLUDE.
536
5372004-01-12 Ulrich Drepper <drepper@redhat.com>
538
539 * readelf.c (print_debug_aranges): Implement using libdw.
540
5412004-01-11 Ulrich Drepper <drepper@redhat.com>
542
543 * nm.c: Adjust for Dwarf_Files type and dwarf_lineno interface change.
544
545 * readelf.c: Use libdw instead of libdwarf. Not all of the old
546 behavior is available yet.
547 * Makefile.am: Link readelf with libdw. Remove libdwarf include path.
548
5492004-01-09 Ulrich Drepper <drepper@redhat.com>
550
551 * nm.c (get_local_names): Adjust call to dwarf_nextcu.
552
553 * nm.c: Implement getting information about local variables.
554
5552004-01-07 Ulrich Drepper <drepper@redhat.com>
556
557 * nm.c: Read also debug information for local symbols.
558
5592004-01-05 Ulrich Drepper <drepper@redhat.com>
560
561 * nm.c: Shuffle dwarf handling code around so the maximum column
562 width can be computed ahead of printing. Avoid collection symbols
563 which are not printed anyway.
564
565 * nm.c: Rewrite dwarf handling to use libdw.
566 * Makefile.am (AM_CFLAGS): Add -std parameter.
567 (INCLUDES): Find header in libdw subdir.
568 (nm_LDADD): Replace libdwarf with libdw.
569
570 * elflint.c: Update copyright year.
571 * readelf.c: Likewise.
572 * size.c: Likewise.
573 * strip.c: Likewise.
574 * nm.c: Likewise.
575
5762003-12-31 Ulrich Drepper <drepper@redhat.com>
577
578 * strip.c (process_file): Close file before returning.
579
5802003-11-19 Ulrich Drepper <drepper@redhat.com>
581
582 * readelf.c (handle_dynamic): Make column for tag name wider.
583
5842003-09-29 Ulrich Drepper <drepper@redhat.com>
585
586 * readelf.c (handle_dynamic): Always terminate tag name with a space.
587
5882003-09-25 Ulrich Drepper <drepper@redhat.com>
589
590 * strip.c (process_file): Don't mmap the input file, we modify the
591 data structures and don't want the change end up on disk.
592
5932003-09-23 Jakub Jelinek <jakub@redhat.com>
594
595 * unaligned.h (union u_2ubyte_unaligned,
596 union u_4ubyte_unaligned, union u_8ubyte_unaligned): Add
597 packed attribute.
598 (add_2ubyte_unaligned, add_4ubyte_unaligned,
599 add_8ubyte_unaligned): Avoid nesting bswap_NN macros.
600 Read/store value through _ptr->u instead of *_ptr.
601
6022003-09-22 Ulrich Drepper <drepper@redhat.com>
603
604 * size.c (show_sysv): Change type of maxlen to int.
605
606 * strip.c (handle_elf): Handle the 64-bit archs which is 64-bit
607 buckets.
608
609 * i386_ld.c: Many many fixes and extensions.
610 * ld.c: Likewise.
611 * ldgeneric.c: Likewise.
612
6132003-08-16 Ulrich Drepper <drepper@redhat.com>
614
615 * ldgeneric.c (check_definition): Don't add symbol on dso_list if
616 the reference is from another DSO.
617
6182003-08-15 Ulrich Drepper <drepper@redhat.com>
619
620 * ldgeneric.c (find_entry_point): It is no fatal error if no entry
621 point is found when creating a DSO.
622
6232003-08-14 Ulrich Drepper <drepper@redhat.com>
624
625 * ld.c (main): Always call FLAG_UNRESOLVED.
626 * ldgeneric.c (ld_generic_flag_unresolved): Only complain about
627 undefined symbols if not creating DSO or ld_state.nodefs is not set.
628
6292003-08-13 Ulrich Drepper <drepper@redhat.com>
630
631 * Makefile.in: Depend on libebl.a, not libebl.so.
632
633 * ld.c (main): Mark stream for linker script as locked by caller.
634 (read_version_script): Likewise.
635 * ldlex.c: Define fread and fwrite to _unlocked variant.
636
637 * i386_ld.c (elf_i386_finalize_plt): Replace #ifdefs with uses of
638 target_bswap_32.
639 * unaligned.h: Define target_bswap_16, target_bswap_32, and
640 target_bswap_64.
641 (store_2ubyte_unaligned, store_4ubyte_unaligned,
642 store_8ubyte_unaligned): Define using new macros.
643
6442003-08-12 Ulrich Drepper <drepper@redhat.com>
645
646 * i386_ld.c (elf_i386_finalize_plt): Use packed structs to access
647 possibly unaligned memory. Support use of big endian machines.
648
6492003-08-11 Ulrich Drepper <drepper@redhat.com>
650
651 * Moved to CVS archive.