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