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