blob: cdba0763df53b4d0f6cbb12d0b5a8cb6aa7206d3 [file] [log] [blame]
Ulrich Drepper2cb8e732006-05-27 21:57:27 +000012006-05-27 Ulrich Drepper <drepper@redhat.com>
2
3 * readelf.c (handle_relocs_rela): Better notations for addon value.
4
Ulrich Drepper82c345d2006-04-04 22:07:54 +000052006-04-04 Ulrich Drepper <drepper@redhat.com>
6
7 * addr2line.c: Update copyright year.
8 * elfcmp.c: Likewise.
9 * elflint.c: Likewise.
10 * findtextrel.c: Likewise.
11 * ld.c: Likewise.
12 * nm.c: Likewise.
13 * objdump.c: Likewise.
14 * ranlib.c: Likewise.
15 * readelf.c: Likewise.
16 * size.c: Likewise.
17 * strings.c: Likewise.
18 * strip.c: Likewise.
19
Roland McGrathdd7e22b2006-03-09 23:05:47 +0000202006-03-09 Roland McGrath <roland@redhat.com>
21
22 * Makefile.am (AM_LDFLAGS): New variable.
23
Roland McGrath060fa052006-03-02 07:51:50 +0000242006-03-01 Roland McGrath <roland@redhat.com>
25
26 * readelf.c (dwarf_tag_string, dwarf_attr_string): Update name tables
27 for dwarf.h changes matching 3.0 spec.
28 (dwarf_encoding_string, dwarf_lang_string, print_ops): Likewise.
29
Ulrich Drepper038129b2005-12-04 16:47:24 +0000302005-12-04 Ulrich Drepper <drepper@redhat.com>
31
32 * elflint.c (check_one_reloc): If relocation section is not loaded,
33 don't check whether the relocations modify read-only sections or
34 loaded and unloaded sections.
35
Ulrich Drepper607e0542005-12-04 15:51:06 +0000362005-11-28 Ulrich Drepper <drepper@redhat.com>
37
38 * elflint.c (check_one_reloc): Take additional parameters. Use
39 them to determine whether relocation is valid in this type of
40 file. DSOs and executables can contain relocation sections in
41 unloaded sections which just show the relocations the linker
42 applied. Adjust all callers.
43 (check_program_header): Check that PT_PHDR is loaded and that offset
44 matches the one in the ELF header.
45
Roland McGrath6724c902005-10-28 07:07:19 +0000462005-10-26 Roland McGrath <roland@redhat.com>
47
48 * nm.c (get_var_range): dwarf_getloclist -> dwarf_getlocation.
49
Ulrich Drepperd0449522005-09-03 07:23:52 +0000502005-09-03 Ulrich Drepper <drepper@redhat.com>
51
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000052 * strip.c (handle_elf): Unify some error messages.
53 * ld.c (main): Likewise.
54 * ldgeneric.c (open_elf): Likewise.
55 * elfcmp.c (main): Likewise.
56 * elflint.c (check_elf_header): Likewise.
57
58 * size.c (process_file): Fix typo in error message.
59
Ulrich Drepperd0449522005-09-03 07:23:52 +000060 * readelf.c: Lots of little cleanups. Use _unlocked functions.
61
Ulrich Dreppera60501e2005-09-02 19:50:17 +0000622005-09-02 Ulrich Drepper <drepper@redhat.com>
63
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000064 * strings.c (main): Reset elfmap variable after munmap call.
Ulrich Drepper618795f2005-09-02 20:01:37 +000065 [_MUDFLAP] (map_file): Simplify mudflap debugging by not using mmap.
Ulrich Dreppera60501e2005-09-02 19:50:17 +000066
Ulrich Drepperfbe998a2005-08-29 16:27:10 +0000672005-08-28 Ulrich Drepper <drepper@redhat.com>
68
69 * ranlib.c: Don't define pread_retry and write_retry here.
70
71 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
72 (CLEANFILES): Add *.gcno *.gcda *.gconv.
73
74 * strings.c (process_chunk): Reorder expressions in conditional
75 (process_chunk_mb): Likewise.
76
77 * strings.c: New file.
78 * Makefile.am (bin_PROGRAMS): Add strings.
79 (strings_no_Wstring): Define.
80 (strings_LDADD): Define.
81
Roland McGrath71e15a02005-08-27 10:33:26 +0000822005-08-27 Roland McGrath <roland@redhat.com>
83
84 * addr2line.c (dwarf_diename_integrate): Function removed.
85 (print_dwarf_function): Use plain dwarf_diename.
86
Ulrich Drepperc5a06cd2005-08-24 19:50:14 +0000872005-08-24 Ulrich Drepper <drepper@redhat.com>
88
89 * elflint.c (check_versym): Versioned symbols should not have
90 local binding.
91
Ulrich Drepper5d832292005-08-15 21:36:27 +0000922005-08-15 Ulrich Drepper <drepper@redhat.com>
93
Ulrich Drepper61655e02005-08-16 04:23:02 +000094 * elflint.c (check_versym): Allow VER_NDX_LOCAL symbols to be
95 undefined.
96
Ulrich Drepper5d832292005-08-15 21:36:27 +000097 * Makefile.am: Add rules to build ranlib.
98 * ranlib.c: New file.
99
Roland McGrath18e13422005-08-15 08:01:25 +00001002005-08-14 Roland McGrath <roland@redhat.com>
101
102 * elflint.c (check_sections): Use ebl_section_type_name and allow any
103 sh_type it recognizes.
104
105 * elflint.c (check_sections): Print unknown flags in hex, don't
106 truncate high bits. Print section number and name for unknown type.
107
Roland McGrathf6895042005-08-13 20:56:52 +00001082005-08-13 Roland McGrath <roland@redhat.com>
109
110 * elflint.c (check_program_header): Use ebl_segment_type_name and
111 allow any p_type it recognizes. Include p_type value in error
112 message for unknown type.
113
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00001142005-08-13 Ulrich Drepper <drepper@redhat.com>
115
116 * elflint.c (check_symtab): Simplify last change a bit. Pass ehdr
117 to ebl_check_special_symbol.
118 (check_sections): Pass ehdr to ebl_bss_plt_p.
119
Roland McGrath653d3762005-08-13 01:59:10 +00001202005-08-12 Roland McGrath <roland@redhat.com>
121
122 * elflint.c (check_symtab): Check that _GLOBAL_OFFSET_TABLE_ st_shndx
123 refers to the right section if it's not SHN_ABS.
124 Let ebl_check_special_symbol override _G_O_T_ value and size checks.
125
126 * elflint.c (check_sections): Don't complain about a non-NOBITS
127 section taking no segment space, if it's sh_size is 0.
128
129 * elflint.c (check_sections): Use ebl_bss_plt_p to see if .plt should
130 be PROGBITS or NOBITS.
131
132 * elflint.c (check_symtab): Use ebl_check_special_symbol to override
133 standard st_value and st_size checks.
134
Roland McGrath1c83bf12005-08-11 07:03:55 +00001352005-07-28 Roland McGrath <roland@redhat.com>
Ulrich Drepperfaf4d192005-08-11 05:12:05 +0000136
Roland McGrath1c83bf12005-08-11 07:03:55 +0000137 * addr2line.c (options, parse_opt): Don't handle -e here.
138 (executable): Variable removed.
139 (argp_children): New static variable.
140 (argp): Use it. Make const.
141 (main): Fill in argp_children from dwfl_standard_argp ().
142 Let libdwfl handle file selection, pass Dwfl handle to handle_address.
143 (print_dwarf_function): New function. Try to figure out inline chain.
144 (elf_getname): Function removed, libdwfl does it for us.
145 (handle_address): Take Dwfl handle instead of Elf, Dwarf handles.
146 Use dwfl_module_addrname instead of elf_getname.
147 Use dwfl_module_getsrc and dwfl_lineinfo instead of libdw calls.
148 * Makefile.am (INCLUDES): Add libdwfl directory to path.
149
1502005-08-10 Ulrich Drepper <drepper@redhat.com>
151
152 * strip.c (parse_opt): STATE parameter is now used.
153 Various little cleanups.
154
155 * readelf.c (print_debug_line_section): Correct fallout of renaming
156 of DW_LNS_set_epilog_begin.
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000157
Roland McGrath8f31c2c2005-08-09 04:58:05 +00001582005-08-08 Roland McGrath <roland@redhat.com>
159
160 * strip.c (options, parse_opt): Grok -R .comment for compatibility
161 with binutils strip. Likewise -d, -S, as aliases for -g.
162 Likewise ignore -s/--strip-all.
163
Roland McGrath095a01b2005-08-08 03:49:35 +00001642005-08-07 Roland McGrath <roland@redhat.com>
165
166 * strip.c (process_file): Open read-only when using a different output
167 file.
168
Ulrich Drepper47be7952005-08-07 04:41:39 +00001692005-08-06 Ulrich Drepper <drepper@redhat.com>
170
Ulrich Drepper637963b2005-08-07 05:33:07 +0000171 * elflint.c (in_nobits_scn): New function.
172 (check_versym): Allow references for defined symbols against versions
173 of other DSOs also for symbols in nobits sections.
174 Move a few variables around.
175
Ulrich Drepper47be7952005-08-07 04:41:39 +0000176 * Makefile.am (AM_CFLAGS): Avoid duplication.
177 Link with statis libs if BUILD_STATIC.
178
Ulrich Drepperdbace232005-08-06 01:37:23 +00001792005-08-05 Ulrich Drepper <drepper@redhat.com>
180
181 * elflint.c: Many, many more tests. Mostly related to symbol
182 versioning. Those sections should now be completely checked.
183
184 * readelf.c (print_dynamic): Use gelf_offscn.
185
Ulrich Drepperacb89832005-08-04 07:01:49 +00001862005-08-04 Ulrich Drepper <drepper@redhat.com>
187
188 * elflint.c: Add lots more tests: more extension symbol table sanity,
189 versioning section tests, hash table tests. General cleanup.
190
Ulrich Drepperc911c9e2005-08-02 16:07:42 +00001912005-08-02 Ulrich Drepper <drepper@redhat.com>
192
Ulrich Drepper8a687742005-08-03 02:24:12 +0000193 * objdump.c: New file.
194 * Makefile.am (bin_PROGRAMS): Add objdump.
195 (objdump_LDADD): Define.
196
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000197 * elflint.c (check_reloc_shdr): New function split out from check_rela
198 and check_rel.
199 (check_one_reloc): New function. Likewise.
200 (check_rela): Use check_reloc_shdr and check_one_reloc.
201 (check_rel): Likewise.
Ulrich Drepper41de4882005-08-03 00:02:56 +0000202 (check_program_header): Check that PT_DYNAMIC entry matches .dynamic
203 section.
204 Add checks that relocations against read-only segments are flagged,
205 that the text relocation flag is not set unnecessarily, and that
206 relocations in one section are either against loaded or not-loaded
207 segments.
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000208
Ulrich Drepper8533dcf2005-08-01 07:18:47 +00002092005-08-01 Ulrich Drepper <drepper@redhat.com>
210
211 * elfcmp.c (main): Ignore section count and section name string table
212 section index.
213
Roland McGrathf9ece8a2005-07-28 07:03:04 +00002142005-07-27 Roland McGrath <roland@redhat.com>
215
216 * elfcmp.c: Include <locale.h>.
217
Ulrich Drepper7d48d6a2005-07-27 10:13:23 +00002182005-07-27 Ulrich Drepper <drepper@redhat.com>
219
220 * elfcmp.c: Print name and index of differing section.
221
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00002222005-07-24 Ulrich Drepper <drepper@redhat.com>
223
224 * elfcmp.c: Implement comparing gaps between sections.
225
2262005-07-23 Ulrich Drepper <drepper@redhat.com>
227
228 * elflint.c: Include libeblP.h instead of libebl.h.
229 * nm.c: Likewise.
230 * readelf.c: Likewise.
231 * elfcmp.c: Likewise.
232
233 * elfcmp.c (main): Compare individual ELF header fields, excluding
234 e_shoff instead of the whole struct at once.
235 Use ebl_section_strip_p instead of SECTION_STRIP_P.
236 * strip.c: Use ebl_section_strip_p instead of SECTION_STRIP_P.
237
2382005-07-22 Ulrich Drepper <drepper@redhat.com>
239
240 * elfcmp.c (main): Take empty section into account when comparing
241 section content.
242
243 * elflint.c (check_dynamic): Check that d_tag value is >= 0 before
244 using it.
245
2462005-07-21 Ulrich Drepper <drepper@redhat.com>
247
248 * elfcmp.c: New file.
249 * Makefile.am (bin_PROGRAMS): Add elfcmp.
250 (elfcmp_LDADD): Define.
251
252 * elflint.c (check_rela): Check that copy relocations only reference
253 object symbols or symbols with unknown type.
254 (check_rel): Likewise.
255
2562005-06-08 Roland McGrath <roland@redhat.com>
257
258 * readelf.c (print_ops): Add consts.
259
2602005-05-31 Roland McGrath <roland@redhat.com>
261
262 * readelf.c (print_debug_abbrev_section): Don't bail after first CU's
263 abbreviations. Print a header line before each CU section.
264
265 * readelf.c (print_debug_loc_section): Fix indentation for larger
266 address size.
267
2682005-05-30 Roland McGrath <roland@redhat.com>
269
270 * readelf.c (print_debug_line_section): Print section offset of each
271 CU's table, so they are easy to find from seeing the stmt_list value.
272
273 * readelf.c (dwarf_attr_string): Add all attributes in <dwarf.h>.
274 (attr_callback): Grok DW_AT_ranges and print offset in hex.
275
276 * readelf.c (attr_callback): Add 2 to addrsize * 2 for %#0* format.
277 (print_debug_ranges_section, print_debug_loc_section): Likewise.
278
279 * readelf.c (print_ops): Take different args for indentation control.
280 (attr_callback): Caller updated.
281 Grok several more block-form attributes as being location expressions.
282 For those same attributes with udata forms, format output differently
283 for location list offset.
284 (print_debug_loc_section): Implement it for real.
285
286 * readelf.c (options): Mention ranges for --debug-dump.
287 (enum section_e): Add section_ranges.
288 (parse_opt): Grok "ranges" for -w/--debug-dump.
289 (print_debug_ranges_section): New function.
290 (print_debug): Handle .debug_ranges section.
291
2922005-05-30 Ulrich Drepper <drepper@redhat.com>
293
294 * readelf.c (handle_notes): At least x86-64 need not have the note
295 section values aligned to 8 bytes.
296
2972005-05-18 Ulrich Drepper <drepper@redhat.com>
298
299 * readelf.c (dwarf_tag_string): Add new tags.
300
3012005-05-08 Roland McGrath <roland@redhat.com>
302
303 * strip.c (handle_elf): Don't translate hash and versym data formats,
304 elf_getdata already did it for us.
305
3062005-05-07 Ulrich Drepper <drepper@redhat.com>
307
308 * Makefile.am (findtextrel_LDADD): Add $(libmudflap).
309 (addr2line_LDADD): Likewise.
310
3112005-05-03 Roland McGrath <roland@redhat.com>
312
313 * strip.c (handle_elf): Apply symbol table fixups to discarded
314 relocation sections when they are being saved in the debug file.
315
316 * strip.c (handle_elf): Pass EHDR->e_ident[EI_DATA] to gelf_xlatetom
317 and gelf_xlatetof, not the native byte order.
318
319 * strip.c (parse_opt): Give error if -f or -o is repeated.
320 (main): Exit if argp_parse returns nonzero.
321
322 * strip.c (debug_fname_embed): New variable.
323 (options, parse_opt): New option -F to set it.
324
3252005-05-07 Ulrich Drepper <drepper@redhat.com>
326
327 * readelf.c (parse_opt): Make any_control_option variable
328 local. Simplify some tests.
329
3302005-05-03 Roland McGrath <roland@redhat.com>
331
332 * strip.c (crc32_file): Function removed (now in ../lib).
333
3342005-05-03 Roland McGrath <roland@redhat.com>
335
336 * elflint.c (is_debuginfo): New variable.
337 (options, parse_opt): New option --debuginfo/-d to set it.
338 (check_sections): If is_debuginfo, don't complain about SHT_NOBITS.
339 (check_note): If is_debuginfo, don't try to get note contents.
340
3412005-04-24 Ulrich Drepper <drepper@redhat.com>
342
343 * readelf.c (print_debug_abbrev_section): Don't print error when end of
344 section reached.
345
3462005-04-14 Ulrich Drepper <drepper@redhat.com>
347
348 * readelf.c (dwarf_encoding_string): New function.
349 (dwarf_inline_string): New function.
350 (dwarf_access_string): New function.
351 (dwarf_visibility_string): New function.
352 (dwarf_virtuality_string): New function.
353 (dwarf_identifier_case_string): New function.
354 (dwarf_calling_convention_string): New function.
355 (dwarf_ordering_string): New function.
356 (dwarf_discr_list_string): New function.
357 (attr_callback): Decode man more attribute values.
358
3592005-04-01 Ulrich Drepper <drepper@redhat.com>
360
361 * addr2line.c: Finish implementation of -f option.
362
3632005-03-29 Ulrich Drepper <drepper@redhat.com>
364
365 * addr2line.c: New file.
366 * Makefile.am (bin_PROGRAMS): Add addr2line.
367 Define addr2line_LDADD.
368
369 * findtextrel.c: Use new dwarf_addrdie function.
370
371 * findtextrel.c: Fix usage message and re-add accidentally removed
372 line.
373
3742005-03-28 Ulrich Drepper <drepper@redhat.com>
375
376 * findtextrel.c: New file.
377 * Makefile: Add rules to build findtextrel.
378
3792005-02-15 Ulrich Drepper <drepper@redhat.com>
380
381 * ldlex.l: Provide ECHO definition to avoid warning.
382
383 * elflint.c (check_program_header): Fix typo in RELRO test.
384
385 * Makefile.am (AM_CFLAGS): Add more warning options.
386 * elflint.c: Fix warnings introduced by the new warning options.
387 * i386_ld.c: Likewise.
388 * ld.c: Likewise.
389 * ld.h: Likewise.
390 * ldgeneric.c: Likewise.
391 * nm.c: Likewise.
392 * readelf.c: Likewise.
393 * sectionhash.c: Likewise.
394 * size.c: Likewise.
395 * string.c: Likewise.
396
3972005-02-05 Ulrich Drepper <drepper@redhat.com>
398
399 * Makefile.am: Check for text relocations in constructed DSOs.
400
401 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all apps
402 with -lmudflap.
403
404 * ldscript.y: Add as_needed handling.
405 * ldlex.l: Recognize AS_NEEDED token.
406 * ld.h (struct filename_list): Add as_needed flag.
407
4082005-02-04 Ulrich Drepper <drepper@redhat.com>
409
410 * elflint.c (check_symtab): Correctly determine size of GOT section.
411
4122005-01-19 Ulrich Drepper <drepper@redhat.com>
413
414 * ld.c: Remove unnecessary more_help function. Print bug report
415 address using argp.
416 * strip.c: Likewise.
417 * size.c: Likewise.
418 * nm.c: Likewise.
419 * readelf.c: Likewise.
420 * elflint.c: Likewise.
421
422 * elflint.c (main): Don't check for parameter problems here.
423 (parse_opt): Do it here, where we get informed about some of them
424 anyway.
425
426 * readelf.c (main): Don't check for parameter problems here.
427 (parse_opt): Do it here, where we get informed about some of them
428 anyway.
429
4302005-01-11 Ulrich Drepper <drepper@redhat.com>
431
432 * strip.c: Update copyright year.
433 * readelf.c: Likewise.
434 * size.c: Likewise.
435 * nm.c: Likewise.
436 * ld.c: Likewise.
437 * elflint.c: Likewise.
438
439 * elflint.c (check_symtab): Don't warn about wrong size for
440 _DYNAMIC and __GLOBAL_OFFSET_TABLE__ for --gnu-ld.
441
4422004-10-05 Ulrich Drepper <drepper@redhat.com>
443
444 * readelf.c (print_phdr): In section mapping, also indicate
445 sections in read-only segments.
446
4472004-09-25 Ulrich Drepper <drepper@redhat.com>
448
449 * readelf.c: Make compile with gcc 4.0.
450 * strip.c: Likewise.
451
4522004-08-16 Ulrich Drepper <drepper@redhat.com>
453
454 * strip.c (handle_elf): Rewrite dynamic memory handling to use of
455 allocate to work around gcc 3.4 bug.
456
4572004-01-25 Ulrich Drepper <drepper@redhat.com>
458
459 * ldlex.l (invalid_char): Better error message.
460
4612004-01-23 Ulrich Drepper <drepper@redhat.com>
462
463 * readelf.c: Print SHT_GNU_LIBLIST sections.
464
465 * none_ld.c: New file.
466
4672004-01-21 Ulrich Drepper <drepper@redhat.com>
468
469 * Makefile.am: Enable building of machine specific linker.
470
4712004-01-20 Ulrich Drepper <drepper@redhat.com>
472
473 * Makefile.am: Support building with mudflap.
474
475 * i386_ld.c: Fix warnings gcc 3.4 spits out.
476 * ldgeneric.c: Likewise.
477 * ldscript.y: Likewise.
478 * readelf.c: Likewise.
479 * strip.c: Likewise.
480
481 * readelf.c (print_debug_line_section): Determine address size
482 correctly.
483
4842004-01-19 Ulrich Drepper <drepper@redhat.com>
485
486 * readelf.c (print_phdr): Show which sections are covered by the
487 PT_GNU_RELRO entry.
488
489 * elflint.c (check_program_header): Check PT_GNU_RELRO entry.
490
491 * readelf.c (print_debug_macinfo_section): Implement.
492
4932004-01-18 Ulrich Drepper <drepper@redhat.com>
494
495 * readelf.c (print_debug_line_section): Implement.
496
4972004-01-17 Ulrich Drepper <drepper@redhat.com>
498
499 * src/elflint.c: Use PACKAGE_NAME instead of PACKAGE.
500 * src/ld.c: Likewise.
501 * src/nm.c: Likewise.
502 * src/readelf.c: Likewise.
503 * src/size.c: Likewise.
504 * src/strip.c: Likewise.
505
506 * strip.c: Add a few more unlikely. Reduce scope of some variables.
507
508 * Makefile.am: Support building with mudflap.
509
5102004-01-16 Ulrich Drepper <drepper@redhat.com>
511
512 * readelf.c (print_debug_info_section): Free dies memory.
513
514 * readelf.c: Print .debug_info section content.
515
5162004-01-13 Ulrich Drepper <drepper@redhat.com>
517
518 * readelf.c (print_shdr): Add support for SHF_ORDERED and SHF_EXCLUDE.
519
5202004-01-12 Ulrich Drepper <drepper@redhat.com>
521
522 * readelf.c (print_debug_aranges): Implement using libdw.
523
5242004-01-11 Ulrich Drepper <drepper@redhat.com>
525
526 * nm.c: Adjust for Dwarf_Files type and dwarf_lineno interface change.
527
528 * readelf.c: Use libdw instead of libdwarf. Not all of the old
529 behavior is available yet.
530 * Makefile.am: Link readelf with libdw. Remove libdwarf include path.
531
5322004-01-09 Ulrich Drepper <drepper@redhat.com>
533
534 * nm.c (get_local_names): Adjust call to dwarf_nextcu.
535
536 * nm.c: Implement getting information about local variables.
537
5382004-01-07 Ulrich Drepper <drepper@redhat.com>
539
540 * nm.c: Read also debug information for local symbols.
541
5422004-01-05 Ulrich Drepper <drepper@redhat.com>
543
544 * nm.c: Shuffle dwarf handling code around so the maximum column
545 width can be computed ahead of printing. Avoid collection symbols
546 which are not printed anyway.
547
548 * nm.c: Rewrite dwarf handling to use libdw.
549 * Makefile.am (AM_CFLAGS): Add -std parameter.
550 (INCLUDES): Find header in libdw subdir.
551 (nm_LDADD): Replace libdwarf with libdw.
552
553 * elflint.c: Update copyright year.
554 * readelf.c: Likewise.
555 * size.c: Likewise.
556 * strip.c: Likewise.
557 * nm.c: Likewise.
558
5592003-12-31 Ulrich Drepper <drepper@redhat.com>
560
561 * strip.c (process_file): Close file before returning.
562
5632003-11-19 Ulrich Drepper <drepper@redhat.com>
564
565 * readelf.c (handle_dynamic): Make column for tag name wider.
566
5672003-09-29 Ulrich Drepper <drepper@redhat.com>
568
569 * readelf.c (handle_dynamic): Always terminate tag name with a space.
570
5712003-09-25 Ulrich Drepper <drepper@redhat.com>
572
573 * strip.c (process_file): Don't mmap the input file, we modify the
574 data structures and don't want the change end up on disk.
575
5762003-09-23 Jakub Jelinek <jakub@redhat.com>
577
578 * unaligned.h (union u_2ubyte_unaligned,
579 union u_4ubyte_unaligned, union u_8ubyte_unaligned): Add
580 packed attribute.
581 (add_2ubyte_unaligned, add_4ubyte_unaligned,
582 add_8ubyte_unaligned): Avoid nesting bswap_NN macros.
583 Read/store value through _ptr->u instead of *_ptr.
584
5852003-09-22 Ulrich Drepper <drepper@redhat.com>
586
587 * size.c (show_sysv): Change type of maxlen to int.
588
589 * strip.c (handle_elf): Handle the 64-bit archs which is 64-bit
590 buckets.
591
592 * i386_ld.c: Many many fixes and extensions.
593 * ld.c: Likewise.
594 * ldgeneric.c: Likewise.
595
5962003-08-16 Ulrich Drepper <drepper@redhat.com>
597
598 * ldgeneric.c (check_definition): Don't add symbol on dso_list if
599 the reference is from another DSO.
600
6012003-08-15 Ulrich Drepper <drepper@redhat.com>
602
603 * ldgeneric.c (find_entry_point): It is no fatal error if no entry
604 point is found when creating a DSO.
605
6062003-08-14 Ulrich Drepper <drepper@redhat.com>
607
608 * ld.c (main): Always call FLAG_UNRESOLVED.
609 * ldgeneric.c (ld_generic_flag_unresolved): Only complain about
610 undefined symbols if not creating DSO or ld_state.nodefs is not set.
611
6122003-08-13 Ulrich Drepper <drepper@redhat.com>
613
614 * Makefile.in: Depend on libebl.a, not libebl.so.
615
616 * ld.c (main): Mark stream for linker script as locked by caller.
617 (read_version_script): Likewise.
618 * ldlex.c: Define fread and fwrite to _unlocked variant.
619
620 * i386_ld.c (elf_i386_finalize_plt): Replace #ifdefs with uses of
621 target_bswap_32.
622 * unaligned.h: Define target_bswap_16, target_bswap_32, and
623 target_bswap_64.
624 (store_2ubyte_unaligned, store_4ubyte_unaligned,
625 store_8ubyte_unaligned): Define using new macros.
626
6272003-08-12 Ulrich Drepper <drepper@redhat.com>
628
629 * i386_ld.c (elf_i386_finalize_plt): Use packed structs to access
630 possibly unaligned memory. Support use of big endian machines.
631
6322003-08-11 Ulrich Drepper <drepper@redhat.com>
633
634 * Moved to CVS archive.