blob: 3a0ebf14e95cb86936da9cd5aa77879a3fcb1ca4 [file] [log] [blame]
Roland McGrath060fa052006-03-02 07:51:50 +000012006-03-01 Roland McGrath <roland@redhat.com>
2
3 * readelf.c (dwarf_tag_string, dwarf_attr_string): Update name tables
4 for dwarf.h changes matching 3.0 spec.
5 (dwarf_encoding_string, dwarf_lang_string, print_ops): Likewise.
6
Ulrich Drepper038129b2005-12-04 16:47:24 +000072005-12-04 Ulrich Drepper <drepper@redhat.com>
8
9 * elflint.c (check_one_reloc): If relocation section is not loaded,
10 don't check whether the relocations modify read-only sections or
11 loaded and unloaded sections.
12
Ulrich Drepper607e0542005-12-04 15:51:06 +0000132005-11-28 Ulrich Drepper <drepper@redhat.com>
14
15 * elflint.c (check_one_reloc): Take additional parameters. Use
16 them to determine whether relocation is valid in this type of
17 file. DSOs and executables can contain relocation sections in
18 unloaded sections which just show the relocations the linker
19 applied. Adjust all callers.
20 (check_program_header): Check that PT_PHDR is loaded and that offset
21 matches the one in the ELF header.
22
Roland McGrath6724c902005-10-28 07:07:19 +0000232005-10-26 Roland McGrath <roland@redhat.com>
24
25 * nm.c (get_var_range): dwarf_getloclist -> dwarf_getlocation.
26
Ulrich Drepperd0449522005-09-03 07:23:52 +0000272005-09-03 Ulrich Drepper <drepper@redhat.com>
28
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000029 * strip.c (handle_elf): Unify some error messages.
30 * ld.c (main): Likewise.
31 * ldgeneric.c (open_elf): Likewise.
32 * elfcmp.c (main): Likewise.
33 * elflint.c (check_elf_header): Likewise.
34
35 * size.c (process_file): Fix typo in error message.
36
Ulrich Drepperd0449522005-09-03 07:23:52 +000037 * readelf.c: Lots of little cleanups. Use _unlocked functions.
38
Ulrich Dreppera60501e2005-09-02 19:50:17 +0000392005-09-02 Ulrich Drepper <drepper@redhat.com>
40
Ulrich Dreppere3f9b7d2005-09-03 16:42:46 +000041 * strings.c (main): Reset elfmap variable after munmap call.
Ulrich Drepper618795f2005-09-02 20:01:37 +000042 [_MUDFLAP] (map_file): Simplify mudflap debugging by not using mmap.
Ulrich Dreppera60501e2005-09-02 19:50:17 +000043
Ulrich Drepperfbe998a2005-08-29 16:27:10 +0000442005-08-28 Ulrich Drepper <drepper@redhat.com>
45
46 * ranlib.c: Don't define pread_retry and write_retry here.
47
48 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
49 (CLEANFILES): Add *.gcno *.gcda *.gconv.
50
51 * strings.c (process_chunk): Reorder expressions in conditional
52 (process_chunk_mb): Likewise.
53
54 * strings.c: New file.
55 * Makefile.am (bin_PROGRAMS): Add strings.
56 (strings_no_Wstring): Define.
57 (strings_LDADD): Define.
58
Roland McGrath71e15a02005-08-27 10:33:26 +0000592005-08-27 Roland McGrath <roland@redhat.com>
60
61 * addr2line.c (dwarf_diename_integrate): Function removed.
62 (print_dwarf_function): Use plain dwarf_diename.
63
Ulrich Drepperc5a06cd2005-08-24 19:50:14 +0000642005-08-24 Ulrich Drepper <drepper@redhat.com>
65
66 * elflint.c (check_versym): Versioned symbols should not have
67 local binding.
68
Ulrich Drepper5d832292005-08-15 21:36:27 +0000692005-08-15 Ulrich Drepper <drepper@redhat.com>
70
Ulrich Drepper61655e02005-08-16 04:23:02 +000071 * elflint.c (check_versym): Allow VER_NDX_LOCAL symbols to be
72 undefined.
73
Ulrich Drepper5d832292005-08-15 21:36:27 +000074 * Makefile.am: Add rules to build ranlib.
75 * ranlib.c: New file.
76
Roland McGrath18e13422005-08-15 08:01:25 +0000772005-08-14 Roland McGrath <roland@redhat.com>
78
79 * elflint.c (check_sections): Use ebl_section_type_name and allow any
80 sh_type it recognizes.
81
82 * elflint.c (check_sections): Print unknown flags in hex, don't
83 truncate high bits. Print section number and name for unknown type.
84
Roland McGrathf6895042005-08-13 20:56:52 +0000852005-08-13 Roland McGrath <roland@redhat.com>
86
87 * elflint.c (check_program_header): Use ebl_segment_type_name and
88 allow any p_type it recognizes. Include p_type value in error
89 message for unknown type.
90
Ulrich Drepperc5c33a62005-08-13 17:50:47 +0000912005-08-13 Ulrich Drepper <drepper@redhat.com>
92
93 * elflint.c (check_symtab): Simplify last change a bit. Pass ehdr
94 to ebl_check_special_symbol.
95 (check_sections): Pass ehdr to ebl_bss_plt_p.
96
Roland McGrath653d3762005-08-13 01:59:10 +0000972005-08-12 Roland McGrath <roland@redhat.com>
98
99 * elflint.c (check_symtab): Check that _GLOBAL_OFFSET_TABLE_ st_shndx
100 refers to the right section if it's not SHN_ABS.
101 Let ebl_check_special_symbol override _G_O_T_ value and size checks.
102
103 * elflint.c (check_sections): Don't complain about a non-NOBITS
104 section taking no segment space, if it's sh_size is 0.
105
106 * elflint.c (check_sections): Use ebl_bss_plt_p to see if .plt should
107 be PROGBITS or NOBITS.
108
109 * elflint.c (check_symtab): Use ebl_check_special_symbol to override
110 standard st_value and st_size checks.
111
Roland McGrath1c83bf12005-08-11 07:03:55 +00001122005-07-28 Roland McGrath <roland@redhat.com>
Ulrich Drepperfaf4d192005-08-11 05:12:05 +0000113
Roland McGrath1c83bf12005-08-11 07:03:55 +0000114 * addr2line.c (options, parse_opt): Don't handle -e here.
115 (executable): Variable removed.
116 (argp_children): New static variable.
117 (argp): Use it. Make const.
118 (main): Fill in argp_children from dwfl_standard_argp ().
119 Let libdwfl handle file selection, pass Dwfl handle to handle_address.
120 (print_dwarf_function): New function. Try to figure out inline chain.
121 (elf_getname): Function removed, libdwfl does it for us.
122 (handle_address): Take Dwfl handle instead of Elf, Dwarf handles.
123 Use dwfl_module_addrname instead of elf_getname.
124 Use dwfl_module_getsrc and dwfl_lineinfo instead of libdw calls.
125 * Makefile.am (INCLUDES): Add libdwfl directory to path.
126
1272005-08-10 Ulrich Drepper <drepper@redhat.com>
128
129 * strip.c (parse_opt): STATE parameter is now used.
130 Various little cleanups.
131
132 * readelf.c (print_debug_line_section): Correct fallout of renaming
133 of DW_LNS_set_epilog_begin.
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000134
Roland McGrath8f31c2c2005-08-09 04:58:05 +00001352005-08-08 Roland McGrath <roland@redhat.com>
136
137 * strip.c (options, parse_opt): Grok -R .comment for compatibility
138 with binutils strip. Likewise -d, -S, as aliases for -g.
139 Likewise ignore -s/--strip-all.
140
Roland McGrath095a01b2005-08-08 03:49:35 +00001412005-08-07 Roland McGrath <roland@redhat.com>
142
143 * strip.c (process_file): Open read-only when using a different output
144 file.
145
Ulrich Drepper47be7952005-08-07 04:41:39 +00001462005-08-06 Ulrich Drepper <drepper@redhat.com>
147
Ulrich Drepper637963b2005-08-07 05:33:07 +0000148 * elflint.c (in_nobits_scn): New function.
149 (check_versym): Allow references for defined symbols against versions
150 of other DSOs also for symbols in nobits sections.
151 Move a few variables around.
152
Ulrich Drepper47be7952005-08-07 04:41:39 +0000153 * Makefile.am (AM_CFLAGS): Avoid duplication.
154 Link with statis libs if BUILD_STATIC.
155
Ulrich Drepperdbace232005-08-06 01:37:23 +00001562005-08-05 Ulrich Drepper <drepper@redhat.com>
157
158 * elflint.c: Many, many more tests. Mostly related to symbol
159 versioning. Those sections should now be completely checked.
160
161 * readelf.c (print_dynamic): Use gelf_offscn.
162
Ulrich Drepperacb89832005-08-04 07:01:49 +00001632005-08-04 Ulrich Drepper <drepper@redhat.com>
164
165 * elflint.c: Add lots more tests: more extension symbol table sanity,
166 versioning section tests, hash table tests. General cleanup.
167
Ulrich Drepperc911c9e2005-08-02 16:07:42 +00001682005-08-02 Ulrich Drepper <drepper@redhat.com>
169
Ulrich Drepper8a687742005-08-03 02:24:12 +0000170 * objdump.c: New file.
171 * Makefile.am (bin_PROGRAMS): Add objdump.
172 (objdump_LDADD): Define.
173
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000174 * elflint.c (check_reloc_shdr): New function split out from check_rela
175 and check_rel.
176 (check_one_reloc): New function. Likewise.
177 (check_rela): Use check_reloc_shdr and check_one_reloc.
178 (check_rel): Likewise.
Ulrich Drepper41de4882005-08-03 00:02:56 +0000179 (check_program_header): Check that PT_DYNAMIC entry matches .dynamic
180 section.
181 Add checks that relocations against read-only segments are flagged,
182 that the text relocation flag is not set unnecessarily, and that
183 relocations in one section are either against loaded or not-loaded
184 segments.
Ulrich Drepperc911c9e2005-08-02 16:07:42 +0000185
Ulrich Drepper8533dcf2005-08-01 07:18:47 +00001862005-08-01 Ulrich Drepper <drepper@redhat.com>
187
188 * elfcmp.c (main): Ignore section count and section name string table
189 section index.
190
Roland McGrathf9ece8a2005-07-28 07:03:04 +00001912005-07-27 Roland McGrath <roland@redhat.com>
192
193 * elfcmp.c: Include <locale.h>.
194
Ulrich Drepper7d48d6a2005-07-27 10:13:23 +00001952005-07-27 Ulrich Drepper <drepper@redhat.com>
196
197 * elfcmp.c: Print name and index of differing section.
198
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001992005-07-24 Ulrich Drepper <drepper@redhat.com>
200
201 * elfcmp.c: Implement comparing gaps between sections.
202
2032005-07-23 Ulrich Drepper <drepper@redhat.com>
204
205 * elflint.c: Include libeblP.h instead of libebl.h.
206 * nm.c: Likewise.
207 * readelf.c: Likewise.
208 * elfcmp.c: Likewise.
209
210 * elfcmp.c (main): Compare individual ELF header fields, excluding
211 e_shoff instead of the whole struct at once.
212 Use ebl_section_strip_p instead of SECTION_STRIP_P.
213 * strip.c: Use ebl_section_strip_p instead of SECTION_STRIP_P.
214
2152005-07-22 Ulrich Drepper <drepper@redhat.com>
216
217 * elfcmp.c (main): Take empty section into account when comparing
218 section content.
219
220 * elflint.c (check_dynamic): Check that d_tag value is >= 0 before
221 using it.
222
2232005-07-21 Ulrich Drepper <drepper@redhat.com>
224
225 * elfcmp.c: New file.
226 * Makefile.am (bin_PROGRAMS): Add elfcmp.
227 (elfcmp_LDADD): Define.
228
229 * elflint.c (check_rela): Check that copy relocations only reference
230 object symbols or symbols with unknown type.
231 (check_rel): Likewise.
232
2332005-06-08 Roland McGrath <roland@redhat.com>
234
235 * readelf.c (print_ops): Add consts.
236
2372005-05-31 Roland McGrath <roland@redhat.com>
238
239 * readelf.c (print_debug_abbrev_section): Don't bail after first CU's
240 abbreviations. Print a header line before each CU section.
241
242 * readelf.c (print_debug_loc_section): Fix indentation for larger
243 address size.
244
2452005-05-30 Roland McGrath <roland@redhat.com>
246
247 * readelf.c (print_debug_line_section): Print section offset of each
248 CU's table, so they are easy to find from seeing the stmt_list value.
249
250 * readelf.c (dwarf_attr_string): Add all attributes in <dwarf.h>.
251 (attr_callback): Grok DW_AT_ranges and print offset in hex.
252
253 * readelf.c (attr_callback): Add 2 to addrsize * 2 for %#0* format.
254 (print_debug_ranges_section, print_debug_loc_section): Likewise.
255
256 * readelf.c (print_ops): Take different args for indentation control.
257 (attr_callback): Caller updated.
258 Grok several more block-form attributes as being location expressions.
259 For those same attributes with udata forms, format output differently
260 for location list offset.
261 (print_debug_loc_section): Implement it for real.
262
263 * readelf.c (options): Mention ranges for --debug-dump.
264 (enum section_e): Add section_ranges.
265 (parse_opt): Grok "ranges" for -w/--debug-dump.
266 (print_debug_ranges_section): New function.
267 (print_debug): Handle .debug_ranges section.
268
2692005-05-30 Ulrich Drepper <drepper@redhat.com>
270
271 * readelf.c (handle_notes): At least x86-64 need not have the note
272 section values aligned to 8 bytes.
273
2742005-05-18 Ulrich Drepper <drepper@redhat.com>
275
276 * readelf.c (dwarf_tag_string): Add new tags.
277
2782005-05-08 Roland McGrath <roland@redhat.com>
279
280 * strip.c (handle_elf): Don't translate hash and versym data formats,
281 elf_getdata already did it for us.
282
2832005-05-07 Ulrich Drepper <drepper@redhat.com>
284
285 * Makefile.am (findtextrel_LDADD): Add $(libmudflap).
286 (addr2line_LDADD): Likewise.
287
2882005-05-03 Roland McGrath <roland@redhat.com>
289
290 * strip.c (handle_elf): Apply symbol table fixups to discarded
291 relocation sections when they are being saved in the debug file.
292
293 * strip.c (handle_elf): Pass EHDR->e_ident[EI_DATA] to gelf_xlatetom
294 and gelf_xlatetof, not the native byte order.
295
296 * strip.c (parse_opt): Give error if -f or -o is repeated.
297 (main): Exit if argp_parse returns nonzero.
298
299 * strip.c (debug_fname_embed): New variable.
300 (options, parse_opt): New option -F to set it.
301
3022005-05-07 Ulrich Drepper <drepper@redhat.com>
303
304 * readelf.c (parse_opt): Make any_control_option variable
305 local. Simplify some tests.
306
3072005-05-03 Roland McGrath <roland@redhat.com>
308
309 * strip.c (crc32_file): Function removed (now in ../lib).
310
3112005-05-03 Roland McGrath <roland@redhat.com>
312
313 * elflint.c (is_debuginfo): New variable.
314 (options, parse_opt): New option --debuginfo/-d to set it.
315 (check_sections): If is_debuginfo, don't complain about SHT_NOBITS.
316 (check_note): If is_debuginfo, don't try to get note contents.
317
3182005-04-24 Ulrich Drepper <drepper@redhat.com>
319
320 * readelf.c (print_debug_abbrev_section): Don't print error when end of
321 section reached.
322
3232005-04-14 Ulrich Drepper <drepper@redhat.com>
324
325 * readelf.c (dwarf_encoding_string): New function.
326 (dwarf_inline_string): New function.
327 (dwarf_access_string): New function.
328 (dwarf_visibility_string): New function.
329 (dwarf_virtuality_string): New function.
330 (dwarf_identifier_case_string): New function.
331 (dwarf_calling_convention_string): New function.
332 (dwarf_ordering_string): New function.
333 (dwarf_discr_list_string): New function.
334 (attr_callback): Decode man more attribute values.
335
3362005-04-01 Ulrich Drepper <drepper@redhat.com>
337
338 * addr2line.c: Finish implementation of -f option.
339
3402005-03-29 Ulrich Drepper <drepper@redhat.com>
341
342 * addr2line.c: New file.
343 * Makefile.am (bin_PROGRAMS): Add addr2line.
344 Define addr2line_LDADD.
345
346 * findtextrel.c: Use new dwarf_addrdie function.
347
348 * findtextrel.c: Fix usage message and re-add accidentally removed
349 line.
350
3512005-03-28 Ulrich Drepper <drepper@redhat.com>
352
353 * findtextrel.c: New file.
354 * Makefile: Add rules to build findtextrel.
355
3562005-02-15 Ulrich Drepper <drepper@redhat.com>
357
358 * ldlex.l: Provide ECHO definition to avoid warning.
359
360 * elflint.c (check_program_header): Fix typo in RELRO test.
361
362 * Makefile.am (AM_CFLAGS): Add more warning options.
363 * elflint.c: Fix warnings introduced by the new warning options.
364 * i386_ld.c: Likewise.
365 * ld.c: Likewise.
366 * ld.h: Likewise.
367 * ldgeneric.c: Likewise.
368 * nm.c: Likewise.
369 * readelf.c: Likewise.
370 * sectionhash.c: Likewise.
371 * size.c: Likewise.
372 * string.c: Likewise.
373
3742005-02-05 Ulrich Drepper <drepper@redhat.com>
375
376 * Makefile.am: Check for text relocations in constructed DSOs.
377
378 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all apps
379 with -lmudflap.
380
381 * ldscript.y: Add as_needed handling.
382 * ldlex.l: Recognize AS_NEEDED token.
383 * ld.h (struct filename_list): Add as_needed flag.
384
3852005-02-04 Ulrich Drepper <drepper@redhat.com>
386
387 * elflint.c (check_symtab): Correctly determine size of GOT section.
388
3892005-01-19 Ulrich Drepper <drepper@redhat.com>
390
391 * ld.c: Remove unnecessary more_help function. Print bug report
392 address using argp.
393 * strip.c: Likewise.
394 * size.c: Likewise.
395 * nm.c: Likewise.
396 * readelf.c: Likewise.
397 * elflint.c: Likewise.
398
399 * elflint.c (main): Don't check for parameter problems here.
400 (parse_opt): Do it here, where we get informed about some of them
401 anyway.
402
403 * readelf.c (main): Don't check for parameter problems here.
404 (parse_opt): Do it here, where we get informed about some of them
405 anyway.
406
4072005-01-11 Ulrich Drepper <drepper@redhat.com>
408
409 * strip.c: Update copyright year.
410 * readelf.c: Likewise.
411 * size.c: Likewise.
412 * nm.c: Likewise.
413 * ld.c: Likewise.
414 * elflint.c: Likewise.
415
416 * elflint.c (check_symtab): Don't warn about wrong size for
417 _DYNAMIC and __GLOBAL_OFFSET_TABLE__ for --gnu-ld.
418
4192004-10-05 Ulrich Drepper <drepper@redhat.com>
420
421 * readelf.c (print_phdr): In section mapping, also indicate
422 sections in read-only segments.
423
4242004-09-25 Ulrich Drepper <drepper@redhat.com>
425
426 * readelf.c: Make compile with gcc 4.0.
427 * strip.c: Likewise.
428
4292004-08-16 Ulrich Drepper <drepper@redhat.com>
430
431 * strip.c (handle_elf): Rewrite dynamic memory handling to use of
432 allocate to work around gcc 3.4 bug.
433
4342004-01-25 Ulrich Drepper <drepper@redhat.com>
435
436 * ldlex.l (invalid_char): Better error message.
437
4382004-01-23 Ulrich Drepper <drepper@redhat.com>
439
440 * readelf.c: Print SHT_GNU_LIBLIST sections.
441
442 * none_ld.c: New file.
443
4442004-01-21 Ulrich Drepper <drepper@redhat.com>
445
446 * Makefile.am: Enable building of machine specific linker.
447
4482004-01-20 Ulrich Drepper <drepper@redhat.com>
449
450 * Makefile.am: Support building with mudflap.
451
452 * i386_ld.c: Fix warnings gcc 3.4 spits out.
453 * ldgeneric.c: Likewise.
454 * ldscript.y: Likewise.
455 * readelf.c: Likewise.
456 * strip.c: Likewise.
457
458 * readelf.c (print_debug_line_section): Determine address size
459 correctly.
460
4612004-01-19 Ulrich Drepper <drepper@redhat.com>
462
463 * readelf.c (print_phdr): Show which sections are covered by the
464 PT_GNU_RELRO entry.
465
466 * elflint.c (check_program_header): Check PT_GNU_RELRO entry.
467
468 * readelf.c (print_debug_macinfo_section): Implement.
469
4702004-01-18 Ulrich Drepper <drepper@redhat.com>
471
472 * readelf.c (print_debug_line_section): Implement.
473
4742004-01-17 Ulrich Drepper <drepper@redhat.com>
475
476 * src/elflint.c: Use PACKAGE_NAME instead of PACKAGE.
477 * src/ld.c: Likewise.
478 * src/nm.c: Likewise.
479 * src/readelf.c: Likewise.
480 * src/size.c: Likewise.
481 * src/strip.c: Likewise.
482
483 * strip.c: Add a few more unlikely. Reduce scope of some variables.
484
485 * Makefile.am: Support building with mudflap.
486
4872004-01-16 Ulrich Drepper <drepper@redhat.com>
488
489 * readelf.c (print_debug_info_section): Free dies memory.
490
491 * readelf.c: Print .debug_info section content.
492
4932004-01-13 Ulrich Drepper <drepper@redhat.com>
494
495 * readelf.c (print_shdr): Add support for SHF_ORDERED and SHF_EXCLUDE.
496
4972004-01-12 Ulrich Drepper <drepper@redhat.com>
498
499 * readelf.c (print_debug_aranges): Implement using libdw.
500
5012004-01-11 Ulrich Drepper <drepper@redhat.com>
502
503 * nm.c: Adjust for Dwarf_Files type and dwarf_lineno interface change.
504
505 * readelf.c: Use libdw instead of libdwarf. Not all of the old
506 behavior is available yet.
507 * Makefile.am: Link readelf with libdw. Remove libdwarf include path.
508
5092004-01-09 Ulrich Drepper <drepper@redhat.com>
510
511 * nm.c (get_local_names): Adjust call to dwarf_nextcu.
512
513 * nm.c: Implement getting information about local variables.
514
5152004-01-07 Ulrich Drepper <drepper@redhat.com>
516
517 * nm.c: Read also debug information for local symbols.
518
5192004-01-05 Ulrich Drepper <drepper@redhat.com>
520
521 * nm.c: Shuffle dwarf handling code around so the maximum column
522 width can be computed ahead of printing. Avoid collection symbols
523 which are not printed anyway.
524
525 * nm.c: Rewrite dwarf handling to use libdw.
526 * Makefile.am (AM_CFLAGS): Add -std parameter.
527 (INCLUDES): Find header in libdw subdir.
528 (nm_LDADD): Replace libdwarf with libdw.
529
530 * elflint.c: Update copyright year.
531 * readelf.c: Likewise.
532 * size.c: Likewise.
533 * strip.c: Likewise.
534 * nm.c: Likewise.
535
5362003-12-31 Ulrich Drepper <drepper@redhat.com>
537
538 * strip.c (process_file): Close file before returning.
539
5402003-11-19 Ulrich Drepper <drepper@redhat.com>
541
542 * readelf.c (handle_dynamic): Make column for tag name wider.
543
5442003-09-29 Ulrich Drepper <drepper@redhat.com>
545
546 * readelf.c (handle_dynamic): Always terminate tag name with a space.
547
5482003-09-25 Ulrich Drepper <drepper@redhat.com>
549
550 * strip.c (process_file): Don't mmap the input file, we modify the
551 data structures and don't want the change end up on disk.
552
5532003-09-23 Jakub Jelinek <jakub@redhat.com>
554
555 * unaligned.h (union u_2ubyte_unaligned,
556 union u_4ubyte_unaligned, union u_8ubyte_unaligned): Add
557 packed attribute.
558 (add_2ubyte_unaligned, add_4ubyte_unaligned,
559 add_8ubyte_unaligned): Avoid nesting bswap_NN macros.
560 Read/store value through _ptr->u instead of *_ptr.
561
5622003-09-22 Ulrich Drepper <drepper@redhat.com>
563
564 * size.c (show_sysv): Change type of maxlen to int.
565
566 * strip.c (handle_elf): Handle the 64-bit archs which is 64-bit
567 buckets.
568
569 * i386_ld.c: Many many fixes and extensions.
570 * ld.c: Likewise.
571 * ldgeneric.c: Likewise.
572
5732003-08-16 Ulrich Drepper <drepper@redhat.com>
574
575 * ldgeneric.c (check_definition): Don't add symbol on dso_list if
576 the reference is from another DSO.
577
5782003-08-15 Ulrich Drepper <drepper@redhat.com>
579
580 * ldgeneric.c (find_entry_point): It is no fatal error if no entry
581 point is found when creating a DSO.
582
5832003-08-14 Ulrich Drepper <drepper@redhat.com>
584
585 * ld.c (main): Always call FLAG_UNRESOLVED.
586 * ldgeneric.c (ld_generic_flag_unresolved): Only complain about
587 undefined symbols if not creating DSO or ld_state.nodefs is not set.
588
5892003-08-13 Ulrich Drepper <drepper@redhat.com>
590
591 * Makefile.in: Depend on libebl.a, not libebl.so.
592
593 * ld.c (main): Mark stream for linker script as locked by caller.
594 (read_version_script): Likewise.
595 * ldlex.c: Define fread and fwrite to _unlocked variant.
596
597 * i386_ld.c (elf_i386_finalize_plt): Replace #ifdefs with uses of
598 target_bswap_32.
599 * unaligned.h: Define target_bswap_16, target_bswap_32, and
600 target_bswap_64.
601 (store_2ubyte_unaligned, store_4ubyte_unaligned,
602 store_8ubyte_unaligned): Define using new macros.
603
6042003-08-12 Ulrich Drepper <drepper@redhat.com>
605
606 * i386_ld.c (elf_i386_finalize_plt): Use packed structs to access
607 possibly unaligned memory. Support use of big endian machines.
608
6092003-08-11 Ulrich Drepper <drepper@redhat.com>
610
611 * Moved to CVS archive.