blob: dc068b4f3d4aa076e584cd89bdfb7e0993d72f69 [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 Drepper2cb8e732006-05-27 21:57:27 +0000122006-05-27 Ulrich Drepper <drepper@redhat.com>
13
14 * readelf.c (handle_relocs_rela): Better notations for addon value.
Ulrich Drepper41a99082006-05-28 00:01:43 +000015 (print_ehdr): Distinguish e_ident[EI_VERSION] from e_version.
Ulrich Drepper2cb8e732006-05-27 21:57:27 +000016
Ulrich Drepper82c345d2006-04-04 22:07:54 +0000172006-04-04 Ulrich Drepper <drepper@redhat.com>
18
19 * addr2line.c: Update copyright year.
20 * elfcmp.c: Likewise.
21 * elflint.c: Likewise.
22 * findtextrel.c: Likewise.
23 * ld.c: Likewise.
24 * nm.c: Likewise.
25 * objdump.c: Likewise.
26 * ranlib.c: Likewise.
27 * readelf.c: Likewise.
28 * size.c: Likewise.
29 * strings.c: Likewise.
30 * strip.c: Likewise.
31
Roland McGrathdd7e22b2006-03-09 23:05:47 +0000322006-03-09 Roland McGrath <roland@redhat.com>
33
34 * Makefile.am (AM_LDFLAGS): New variable.
35
Roland McGrath060fa052006-03-02 07:51:50 +0000362006-03-01 Roland McGrath <roland@redhat.com>
37
38 * readelf.c (dwarf_tag_string, dwarf_attr_string): Update name tables
39 for dwarf.h changes matching 3.0 spec.
40 (dwarf_encoding_string, dwarf_lang_string, print_ops): Likewise.
41
Ulrich Drepper038129b2005-12-04 16:47:24 +0000422005-12-04 Ulrich Drepper <drepper@redhat.com>
43
44 * elflint.c (check_one_reloc): If relocation section is not loaded,
45 don't check whether the relocations modify read-only sections or
46 loaded and unloaded sections.
47
Ulrich Drepper607e0542005-12-04 15:51:06 +0000482005-11-28 Ulrich Drepper <drepper@redhat.com>
49
50 * elflint.c (check_one_reloc): Take additional parameters. Use
51 them to determine whether relocation is valid in this type of
52 file. DSOs and executables can contain relocation sections in
53 unloaded sections which just show the relocations the linker
54 applied. Adjust all callers.
55 (check_program_header): Check that PT_PHDR is loaded and that offset
56 matches the one in the ELF header.
57
Roland McGrath6724c902005-10-28 07:07:19 +0000582005-10-26 Roland McGrath <roland@redhat.com>
59
60 * nm.c (get_var_range): dwarf_getloclist -> dwarf_getlocation.
61
Ulrich Drepperd0449522005-09-03 07:23:52 +0000622005-09-03 Ulrich Drepper <drepper@redhat.com>
63
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000064 * strip.c (handle_elf): Unify some error messages.
65 * ld.c (main): Likewise.
66 * ldgeneric.c (open_elf): Likewise.
67 * elfcmp.c (main): Likewise.
68 * elflint.c (check_elf_header): Likewise.
69
70 * size.c (process_file): Fix typo in error message.
71
Ulrich Drepperd0449522005-09-03 07:23:52 +000072 * readelf.c: Lots of little cleanups. Use _unlocked functions.
73
Ulrich Dreppera60501e2005-09-02 19:50:17 +0000742005-09-02 Ulrich Drepper <drepper@redhat.com>
75
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000076 * strings.c (main): Reset elfmap variable after munmap call.
Ulrich Drepper618795f2005-09-02 20:01:37 +000077 [_MUDFLAP] (map_file): Simplify mudflap debugging by not using mmap.
Ulrich Dreppera60501e2005-09-02 19:50:17 +000078
Ulrich Drepperfbe998a2005-08-29 16:27:10 +0000792005-08-28 Ulrich Drepper <drepper@redhat.com>
80
81 * ranlib.c: Don't define pread_retry and write_retry here.
82
83 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
84 (CLEANFILES): Add *.gcno *.gcda *.gconv.
85
86 * strings.c (process_chunk): Reorder expressions in conditional
87 (process_chunk_mb): Likewise.
88
89 * strings.c: New file.
90 * Makefile.am (bin_PROGRAMS): Add strings.
91 (strings_no_Wstring): Define.
92 (strings_LDADD): Define.
93
Roland McGrath71e15a02005-08-27 10:33:26 +0000942005-08-27 Roland McGrath <roland@redhat.com>
95
96 * addr2line.c (dwarf_diename_integrate): Function removed.
97 (print_dwarf_function): Use plain dwarf_diename.
98
Ulrich Drepperc5a06cd2005-08-24 19:50:14 +0000992005-08-24 Ulrich Drepper <drepper@redhat.com>
100
101 * elflint.c (check_versym): Versioned symbols should not have
102 local binding.
103
Ulrich Drepper5d832292005-08-15 21:36:27 +00001042005-08-15 Ulrich Drepper <drepper@redhat.com>
105
Ulrich Drepper61655e02005-08-16 04:23:02 +0000106 * elflint.c (check_versym): Allow VER_NDX_LOCAL symbols to be
107 undefined.
108
Ulrich Drepper5d832292005-08-15 21:36:27 +0000109 * Makefile.am: Add rules to build ranlib.
110 * ranlib.c: New file.
111
Roland McGrath18e13422005-08-15 08:01:25 +00001122005-08-14 Roland McGrath <roland@redhat.com>
113
114 * elflint.c (check_sections): Use ebl_section_type_name and allow any
115 sh_type it recognizes.
116
117 * elflint.c (check_sections): Print unknown flags in hex, don't
118 truncate high bits. Print section number and name for unknown type.
119
Roland McGrathf6895042005-08-13 20:56:52 +00001202005-08-13 Roland McGrath <roland@redhat.com>
121
122 * elflint.c (check_program_header): Use ebl_segment_type_name and
123 allow any p_type it recognizes. Include p_type value in error
124 message for unknown type.
125
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00001262005-08-13 Ulrich Drepper <drepper@redhat.com>
127
128 * elflint.c (check_symtab): Simplify last change a bit. Pass ehdr
129 to ebl_check_special_symbol.
130 (check_sections): Pass ehdr to ebl_bss_plt_p.
131
Roland McGrath653d3762005-08-13 01:59:10 +00001322005-08-12 Roland McGrath <roland@redhat.com>
133
134 * elflint.c (check_symtab): Check that _GLOBAL_OFFSET_TABLE_ st_shndx
135 refers to the right section if it's not SHN_ABS.
136 Let ebl_check_special_symbol override _G_O_T_ value and size checks.
137
138 * elflint.c (check_sections): Don't complain about a non-NOBITS
139 section taking no segment space, if it's sh_size is 0.
140
141 * elflint.c (check_sections): Use ebl_bss_plt_p to see if .plt should
142 be PROGBITS or NOBITS.
143
144 * elflint.c (check_symtab): Use ebl_check_special_symbol to override
145 standard st_value and st_size checks.
146
Roland McGrath1c83bf12005-08-11 07:03:55 +00001472005-07-28 Roland McGrath <roland@redhat.com>
Ulrich Drepperfaf4d192005-08-11 05:12:05 +0000148
Roland McGrath1c83bf12005-08-11 07:03:55 +0000149 * addr2line.c (options, parse_opt): Don't handle -e here.
150 (executable): Variable removed.
151 (argp_children): New static variable.
152 (argp): Use it. Make const.
153 (main): Fill in argp_children from dwfl_standard_argp ().
154 Let libdwfl handle file selection, pass Dwfl handle to handle_address.
155 (print_dwarf_function): New function. Try to figure out inline chain.
156 (elf_getname): Function removed, libdwfl does it for us.
157 (handle_address): Take Dwfl handle instead of Elf, Dwarf handles.
158 Use dwfl_module_addrname instead of elf_getname.
159 Use dwfl_module_getsrc and dwfl_lineinfo instead of libdw calls.
160 * Makefile.am (INCLUDES): Add libdwfl directory to path.
161
1622005-08-10 Ulrich Drepper <drepper@redhat.com>
163
164 * strip.c (parse_opt): STATE parameter is now used.
165 Various little cleanups.
166
167 * readelf.c (print_debug_line_section): Correct fallout of renaming
168 of DW_LNS_set_epilog_begin.
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000169
Roland McGrath8f31c2c2005-08-09 04:58:05 +00001702005-08-08 Roland McGrath <roland@redhat.com>
171
172 * strip.c (options, parse_opt): Grok -R .comment for compatibility
173 with binutils strip. Likewise -d, -S, as aliases for -g.
174 Likewise ignore -s/--strip-all.
175
Roland McGrath095a01b2005-08-08 03:49:35 +00001762005-08-07 Roland McGrath <roland@redhat.com>
177
178 * strip.c (process_file): Open read-only when using a different output
179 file.
180
Ulrich Drepper47be7952005-08-07 04:41:39 +00001812005-08-06 Ulrich Drepper <drepper@redhat.com>
182
Ulrich Drepper637963b2005-08-07 05:33:07 +0000183 * elflint.c (in_nobits_scn): New function.
184 (check_versym): Allow references for defined symbols against versions
185 of other DSOs also for symbols in nobits sections.
186 Move a few variables around.
187
Ulrich Drepper47be7952005-08-07 04:41:39 +0000188 * Makefile.am (AM_CFLAGS): Avoid duplication.
189 Link with statis libs if BUILD_STATIC.
190
Ulrich Drepperdbace232005-08-06 01:37:23 +00001912005-08-05 Ulrich Drepper <drepper@redhat.com>
192
193 * elflint.c: Many, many more tests. Mostly related to symbol
194 versioning. Those sections should now be completely checked.
195
196 * readelf.c (print_dynamic): Use gelf_offscn.
197
Ulrich Drepperacb89832005-08-04 07:01:49 +00001982005-08-04 Ulrich Drepper <drepper@redhat.com>
199
200 * elflint.c: Add lots more tests: more extension symbol table sanity,
201 versioning section tests, hash table tests. General cleanup.
202
Ulrich Drepperc911c9e2005-08-02 16:07:42 +00002032005-08-02 Ulrich Drepper <drepper@redhat.com>
204
Ulrich Drepper8a687742005-08-03 02:24:12 +0000205 * objdump.c: New file.
206 * Makefile.am (bin_PROGRAMS): Add objdump.
207 (objdump_LDADD): Define.
208
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000209 * elflint.c (check_reloc_shdr): New function split out from check_rela
210 and check_rel.
211 (check_one_reloc): New function. Likewise.
212 (check_rela): Use check_reloc_shdr and check_one_reloc.
213 (check_rel): Likewise.
Ulrich Drepper41de4882005-08-03 00:02:56 +0000214 (check_program_header): Check that PT_DYNAMIC entry matches .dynamic
215 section.
216 Add checks that relocations against read-only segments are flagged,
217 that the text relocation flag is not set unnecessarily, and that
218 relocations in one section are either against loaded or not-loaded
219 segments.
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000220
Ulrich Drepper8533dcf2005-08-01 07:18:47 +00002212005-08-01 Ulrich Drepper <drepper@redhat.com>
222
223 * elfcmp.c (main): Ignore section count and section name string table
224 section index.
225
Roland McGrathf9ece8a2005-07-28 07:03:04 +00002262005-07-27 Roland McGrath <roland@redhat.com>
227
228 * elfcmp.c: Include <locale.h>.
229
Ulrich Drepper7d48d6a2005-07-27 10:13:23 +00002302005-07-27 Ulrich Drepper <drepper@redhat.com>
231
232 * elfcmp.c: Print name and index of differing section.
233
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00002342005-07-24 Ulrich Drepper <drepper@redhat.com>
235
236 * elfcmp.c: Implement comparing gaps between sections.
237
2382005-07-23 Ulrich Drepper <drepper@redhat.com>
239
240 * elflint.c: Include libeblP.h instead of libebl.h.
241 * nm.c: Likewise.
242 * readelf.c: Likewise.
243 * elfcmp.c: Likewise.
244
245 * elfcmp.c (main): Compare individual ELF header fields, excluding
246 e_shoff instead of the whole struct at once.
247 Use ebl_section_strip_p instead of SECTION_STRIP_P.
248 * strip.c: Use ebl_section_strip_p instead of SECTION_STRIP_P.
249
2502005-07-22 Ulrich Drepper <drepper@redhat.com>
251
252 * elfcmp.c (main): Take empty section into account when comparing
253 section content.
254
255 * elflint.c (check_dynamic): Check that d_tag value is >= 0 before
256 using it.
257
2582005-07-21 Ulrich Drepper <drepper@redhat.com>
259
260 * elfcmp.c: New file.
261 * Makefile.am (bin_PROGRAMS): Add elfcmp.
262 (elfcmp_LDADD): Define.
263
264 * elflint.c (check_rela): Check that copy relocations only reference
265 object symbols or symbols with unknown type.
266 (check_rel): Likewise.
267
2682005-06-08 Roland McGrath <roland@redhat.com>
269
270 * readelf.c (print_ops): Add consts.
271
2722005-05-31 Roland McGrath <roland@redhat.com>
273
274 * readelf.c (print_debug_abbrev_section): Don't bail after first CU's
275 abbreviations. Print a header line before each CU section.
276
277 * readelf.c (print_debug_loc_section): Fix indentation for larger
278 address size.
279
2802005-05-30 Roland McGrath <roland@redhat.com>
281
282 * readelf.c (print_debug_line_section): Print section offset of each
283 CU's table, so they are easy to find from seeing the stmt_list value.
284
285 * readelf.c (dwarf_attr_string): Add all attributes in <dwarf.h>.
286 (attr_callback): Grok DW_AT_ranges and print offset in hex.
287
288 * readelf.c (attr_callback): Add 2 to addrsize * 2 for %#0* format.
289 (print_debug_ranges_section, print_debug_loc_section): Likewise.
290
291 * readelf.c (print_ops): Take different args for indentation control.
292 (attr_callback): Caller updated.
293 Grok several more block-form attributes as being location expressions.
294 For those same attributes with udata forms, format output differently
295 for location list offset.
296 (print_debug_loc_section): Implement it for real.
297
298 * readelf.c (options): Mention ranges for --debug-dump.
299 (enum section_e): Add section_ranges.
300 (parse_opt): Grok "ranges" for -w/--debug-dump.
301 (print_debug_ranges_section): New function.
302 (print_debug): Handle .debug_ranges section.
303
3042005-05-30 Ulrich Drepper <drepper@redhat.com>
305
306 * readelf.c (handle_notes): At least x86-64 need not have the note
307 section values aligned to 8 bytes.
308
3092005-05-18 Ulrich Drepper <drepper@redhat.com>
310
311 * readelf.c (dwarf_tag_string): Add new tags.
312
3132005-05-08 Roland McGrath <roland@redhat.com>
314
315 * strip.c (handle_elf): Don't translate hash and versym data formats,
316 elf_getdata already did it for us.
317
3182005-05-07 Ulrich Drepper <drepper@redhat.com>
319
320 * Makefile.am (findtextrel_LDADD): Add $(libmudflap).
321 (addr2line_LDADD): Likewise.
322
3232005-05-03 Roland McGrath <roland@redhat.com>
324
325 * strip.c (handle_elf): Apply symbol table fixups to discarded
326 relocation sections when they are being saved in the debug file.
327
328 * strip.c (handle_elf): Pass EHDR->e_ident[EI_DATA] to gelf_xlatetom
329 and gelf_xlatetof, not the native byte order.
330
331 * strip.c (parse_opt): Give error if -f or -o is repeated.
332 (main): Exit if argp_parse returns nonzero.
333
334 * strip.c (debug_fname_embed): New variable.
335 (options, parse_opt): New option -F to set it.
336
3372005-05-07 Ulrich Drepper <drepper@redhat.com>
338
339 * readelf.c (parse_opt): Make any_control_option variable
340 local. Simplify some tests.
341
3422005-05-03 Roland McGrath <roland@redhat.com>
343
344 * strip.c (crc32_file): Function removed (now in ../lib).
345
3462005-05-03 Roland McGrath <roland@redhat.com>
347
348 * elflint.c (is_debuginfo): New variable.
349 (options, parse_opt): New option --debuginfo/-d to set it.
350 (check_sections): If is_debuginfo, don't complain about SHT_NOBITS.
351 (check_note): If is_debuginfo, don't try to get note contents.
352
3532005-04-24 Ulrich Drepper <drepper@redhat.com>
354
355 * readelf.c (print_debug_abbrev_section): Don't print error when end of
356 section reached.
357
3582005-04-14 Ulrich Drepper <drepper@redhat.com>
359
360 * readelf.c (dwarf_encoding_string): New function.
361 (dwarf_inline_string): New function.
362 (dwarf_access_string): New function.
363 (dwarf_visibility_string): New function.
364 (dwarf_virtuality_string): New function.
365 (dwarf_identifier_case_string): New function.
366 (dwarf_calling_convention_string): New function.
367 (dwarf_ordering_string): New function.
368 (dwarf_discr_list_string): New function.
369 (attr_callback): Decode man more attribute values.
370
3712005-04-01 Ulrich Drepper <drepper@redhat.com>
372
373 * addr2line.c: Finish implementation of -f option.
374
3752005-03-29 Ulrich Drepper <drepper@redhat.com>
376
377 * addr2line.c: New file.
378 * Makefile.am (bin_PROGRAMS): Add addr2line.
379 Define addr2line_LDADD.
380
381 * findtextrel.c: Use new dwarf_addrdie function.
382
383 * findtextrel.c: Fix usage message and re-add accidentally removed
384 line.
385
3862005-03-28 Ulrich Drepper <drepper@redhat.com>
387
388 * findtextrel.c: New file.
389 * Makefile: Add rules to build findtextrel.
390
3912005-02-15 Ulrich Drepper <drepper@redhat.com>
392
393 * ldlex.l: Provide ECHO definition to avoid warning.
394
395 * elflint.c (check_program_header): Fix typo in RELRO test.
396
397 * Makefile.am (AM_CFLAGS): Add more warning options.
398 * elflint.c: Fix warnings introduced by the new warning options.
399 * i386_ld.c: Likewise.
400 * ld.c: Likewise.
401 * ld.h: Likewise.
402 * ldgeneric.c: Likewise.
403 * nm.c: Likewise.
404 * readelf.c: Likewise.
405 * sectionhash.c: Likewise.
406 * size.c: Likewise.
407 * string.c: Likewise.
408
4092005-02-05 Ulrich Drepper <drepper@redhat.com>
410
411 * Makefile.am: Check for text relocations in constructed DSOs.
412
413 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all apps
414 with -lmudflap.
415
416 * ldscript.y: Add as_needed handling.
417 * ldlex.l: Recognize AS_NEEDED token.
418 * ld.h (struct filename_list): Add as_needed flag.
419
4202005-02-04 Ulrich Drepper <drepper@redhat.com>
421
422 * elflint.c (check_symtab): Correctly determine size of GOT section.
423
4242005-01-19 Ulrich Drepper <drepper@redhat.com>
425
426 * ld.c: Remove unnecessary more_help function. Print bug report
427 address using argp.
428 * strip.c: Likewise.
429 * size.c: Likewise.
430 * nm.c: Likewise.
431 * readelf.c: Likewise.
432 * elflint.c: Likewise.
433
434 * elflint.c (main): Don't check for parameter problems here.
435 (parse_opt): Do it here, where we get informed about some of them
436 anyway.
437
438 * readelf.c (main): Don't check for parameter problems here.
439 (parse_opt): Do it here, where we get informed about some of them
440 anyway.
441
4422005-01-11 Ulrich Drepper <drepper@redhat.com>
443
444 * strip.c: Update copyright year.
445 * readelf.c: Likewise.
446 * size.c: Likewise.
447 * nm.c: Likewise.
448 * ld.c: Likewise.
449 * elflint.c: Likewise.
450
451 * elflint.c (check_symtab): Don't warn about wrong size for
452 _DYNAMIC and __GLOBAL_OFFSET_TABLE__ for --gnu-ld.
453
4542004-10-05 Ulrich Drepper <drepper@redhat.com>
455
456 * readelf.c (print_phdr): In section mapping, also indicate
457 sections in read-only segments.
458
4592004-09-25 Ulrich Drepper <drepper@redhat.com>
460
461 * readelf.c: Make compile with gcc 4.0.
462 * strip.c: Likewise.
463
4642004-08-16 Ulrich Drepper <drepper@redhat.com>
465
466 * strip.c (handle_elf): Rewrite dynamic memory handling to use of
467 allocate to work around gcc 3.4 bug.
468
4692004-01-25 Ulrich Drepper <drepper@redhat.com>
470
471 * ldlex.l (invalid_char): Better error message.
472
4732004-01-23 Ulrich Drepper <drepper@redhat.com>
474
475 * readelf.c: Print SHT_GNU_LIBLIST sections.
476
477 * none_ld.c: New file.
478
4792004-01-21 Ulrich Drepper <drepper@redhat.com>
480
481 * Makefile.am: Enable building of machine specific linker.
482
4832004-01-20 Ulrich Drepper <drepper@redhat.com>
484
485 * Makefile.am: Support building with mudflap.
486
487 * i386_ld.c: Fix warnings gcc 3.4 spits out.
488 * ldgeneric.c: Likewise.
489 * ldscript.y: Likewise.
490 * readelf.c: Likewise.
491 * strip.c: Likewise.
492
493 * readelf.c (print_debug_line_section): Determine address size
494 correctly.
495
4962004-01-19 Ulrich Drepper <drepper@redhat.com>
497
498 * readelf.c (print_phdr): Show which sections are covered by the
499 PT_GNU_RELRO entry.
500
501 * elflint.c (check_program_header): Check PT_GNU_RELRO entry.
502
503 * readelf.c (print_debug_macinfo_section): Implement.
504
5052004-01-18 Ulrich Drepper <drepper@redhat.com>
506
507 * readelf.c (print_debug_line_section): Implement.
508
5092004-01-17 Ulrich Drepper <drepper@redhat.com>
510
511 * src/elflint.c: Use PACKAGE_NAME instead of PACKAGE.
512 * src/ld.c: Likewise.
513 * src/nm.c: Likewise.
514 * src/readelf.c: Likewise.
515 * src/size.c: Likewise.
516 * src/strip.c: Likewise.
517
518 * strip.c: Add a few more unlikely. Reduce scope of some variables.
519
520 * Makefile.am: Support building with mudflap.
521
5222004-01-16 Ulrich Drepper <drepper@redhat.com>
523
524 * readelf.c (print_debug_info_section): Free dies memory.
525
526 * readelf.c: Print .debug_info section content.
527
5282004-01-13 Ulrich Drepper <drepper@redhat.com>
529
530 * readelf.c (print_shdr): Add support for SHF_ORDERED and SHF_EXCLUDE.
531
5322004-01-12 Ulrich Drepper <drepper@redhat.com>
533
534 * readelf.c (print_debug_aranges): Implement using libdw.
535
5362004-01-11 Ulrich Drepper <drepper@redhat.com>
537
538 * nm.c: Adjust for Dwarf_Files type and dwarf_lineno interface change.
539
540 * readelf.c: Use libdw instead of libdwarf. Not all of the old
541 behavior is available yet.
542 * Makefile.am: Link readelf with libdw. Remove libdwarf include path.
543
5442004-01-09 Ulrich Drepper <drepper@redhat.com>
545
546 * nm.c (get_local_names): Adjust call to dwarf_nextcu.
547
548 * nm.c: Implement getting information about local variables.
549
5502004-01-07 Ulrich Drepper <drepper@redhat.com>
551
552 * nm.c: Read also debug information for local symbols.
553
5542004-01-05 Ulrich Drepper <drepper@redhat.com>
555
556 * nm.c: Shuffle dwarf handling code around so the maximum column
557 width can be computed ahead of printing. Avoid collection symbols
558 which are not printed anyway.
559
560 * nm.c: Rewrite dwarf handling to use libdw.
561 * Makefile.am (AM_CFLAGS): Add -std parameter.
562 (INCLUDES): Find header in libdw subdir.
563 (nm_LDADD): Replace libdwarf with libdw.
564
565 * elflint.c: Update copyright year.
566 * readelf.c: Likewise.
567 * size.c: Likewise.
568 * strip.c: Likewise.
569 * nm.c: Likewise.
570
5712003-12-31 Ulrich Drepper <drepper@redhat.com>
572
573 * strip.c (process_file): Close file before returning.
574
5752003-11-19 Ulrich Drepper <drepper@redhat.com>
576
577 * readelf.c (handle_dynamic): Make column for tag name wider.
578
5792003-09-29 Ulrich Drepper <drepper@redhat.com>
580
581 * readelf.c (handle_dynamic): Always terminate tag name with a space.
582
5832003-09-25 Ulrich Drepper <drepper@redhat.com>
584
585 * strip.c (process_file): Don't mmap the input file, we modify the
586 data structures and don't want the change end up on disk.
587
5882003-09-23 Jakub Jelinek <jakub@redhat.com>
589
590 * unaligned.h (union u_2ubyte_unaligned,
591 union u_4ubyte_unaligned, union u_8ubyte_unaligned): Add
592 packed attribute.
593 (add_2ubyte_unaligned, add_4ubyte_unaligned,
594 add_8ubyte_unaligned): Avoid nesting bswap_NN macros.
595 Read/store value through _ptr->u instead of *_ptr.
596
5972003-09-22 Ulrich Drepper <drepper@redhat.com>
598
599 * size.c (show_sysv): Change type of maxlen to int.
600
601 * strip.c (handle_elf): Handle the 64-bit archs which is 64-bit
602 buckets.
603
604 * i386_ld.c: Many many fixes and extensions.
605 * ld.c: Likewise.
606 * ldgeneric.c: Likewise.
607
6082003-08-16 Ulrich Drepper <drepper@redhat.com>
609
610 * ldgeneric.c (check_definition): Don't add symbol on dso_list if
611 the reference is from another DSO.
612
6132003-08-15 Ulrich Drepper <drepper@redhat.com>
614
615 * ldgeneric.c (find_entry_point): It is no fatal error if no entry
616 point is found when creating a DSO.
617
6182003-08-14 Ulrich Drepper <drepper@redhat.com>
619
620 * ld.c (main): Always call FLAG_UNRESOLVED.
621 * ldgeneric.c (ld_generic_flag_unresolved): Only complain about
622 undefined symbols if not creating DSO or ld_state.nodefs is not set.
623
6242003-08-13 Ulrich Drepper <drepper@redhat.com>
625
626 * Makefile.in: Depend on libebl.a, not libebl.so.
627
628 * ld.c (main): Mark stream for linker script as locked by caller.
629 (read_version_script): Likewise.
630 * ldlex.c: Define fread and fwrite to _unlocked variant.
631
632 * i386_ld.c (elf_i386_finalize_plt): Replace #ifdefs with uses of
633 target_bswap_32.
634 * unaligned.h: Define target_bswap_16, target_bswap_32, and
635 target_bswap_64.
636 (store_2ubyte_unaligned, store_4ubyte_unaligned,
637 store_8ubyte_unaligned): Define using new macros.
638
6392003-08-12 Ulrich Drepper <drepper@redhat.com>
640
641 * i386_ld.c (elf_i386_finalize_plt): Use packed structs to access
642 possibly unaligned memory. Support use of big endian machines.
643
6442003-08-11 Ulrich Drepper <drepper@redhat.com>
645
646 * Moved to CVS archive.