2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2005-05-02 Ben Elliston <bje@au.ibm.com>
2
3 * dlltool.c (dtab): Remove empty function.
4 (process_duplicates): Remove calls to dtab().
5
6 2005-05-01 Maciej W. Rozycki <macro@linux-mips.org>
7
8 * doc/binutils.texi (strip, objcopy): Clarify the description of
9 the "--strip-debug" option. Fix a typo.
10
11 2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
12
13 * bucomm.c: Undo the last change.
14 * bucomm.h: Likewise.
15
16 2005-04-29 Ben Elliston <bje@au.ibm.com>
17
18 * syslex.l (word, number, unit): Remove unused variables.
19 * nlmheader.y (keyword_tokens): Make static.
20 * coffdump.c (dump_coff_symbol, coff_dump): Make static.
21 * coffgrok.c (lofile, last_function_symbol, last_function_type,
22 last_struct, last_enum, cur_sfile): Make variables static.
23 * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
24 sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
25 * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
26 names, pnames): Likewise.
27
28 2005-04-29 Ben Elliston <bje@au.ibm.com>
29
30 * ar.c (mri_mode): Make static.
31 * arsup.c (obfd, real_name, outfile): Likewise.
32 * binemul.c (ar_emul_create): Remove unused function.
33 (ar_emul_default_create): Likewise.
34 * binemul.h (ar_emul_create): Remove declaration.
35 (ar_emul_default_create): Likewise.
36 (struct bin_emulation_xfer_struct): Remove ar_create member.
37 * bucomm.c (report): Make static.
38 * bucomm.h (report): Remove declaration.
39 * cxxfilt.c (mbuffer): Make static.
40 (main): Use unsigned ints for some loop control variables.
41 * readelf.c: Make many global variables static.
42 * size.c (berkeley_format): Make static.
43 (long_options): Likewise.
44 * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
45 structure initialiser.
46 (bin_aix5_emulation): Likewise.
47 * emul_vanilla.c (bin_vanilla_emulation): Likewise.
48
49 2005-04-27 Ben Elliston <bje@au.ibm.com>
50
51 * syslex.l: Adjust top-of-file comment: this file is part of GNU
52 binutils, not GNU ld.
53
54 2005-04-25 Nick Clifton <nickc@redhat.com>
55
56 PR872
57 * objcopy.c (copy_archive): Initialise 'obfd' field of new
58 name_list structure.
59
60 * objcopy.c (copy_usage): Fix description of -K switch.
61
62 * doc/binutils.texi (strip, objcopy): Fix description of -K
63 switch.
64
65 2005-04-20 Daniel Jacobowitz <dan@codesourcery.com>
66
67 * readelf.c (display_debug_frames): Use data factor for
68 DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
69
70 2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
71
72 * objdump.c (dump_section_header): Skip linker created section.
73
74 2005-04-17 H.J. Lu <hongjiu.lu@intel.com>
75
76 * objdump.c (dump_section_header): Support SEC_GROUP.
77
78 2005-04-16 Nick Clifton <nickc@redhat.com>
79
80 * readelf.c (debug_apply_rela_addends): Remove redundant %s from
81 printf string.
82
83 2005-04-15 Nick Clifton <nickc@redhat.com>
84
85 * objcopy.c (copy_file): Issue an error message when attmepting to
86 copy an empty input file.
87
88 2005-04-14 Alan Modra <amodra@bigpond.net.au>
89
90 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
91 * configure.in: Include ../bfd/warning.m4 contents.
92 * Makefile.in: Regenerate.
93 * configure: Regenerate.
94 * doc/Makefile.in: Regenerate.
95
96 2005-04-12 Alan Modra <amodra@bigpond.net.au>
97
98 * Makefile.am: Run "make dep-am".
99 (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
100 (sysroff.o, defparse.o, deflex.o): Likewise.
101 (nlmheader.o, rcparse.o, rclex.o): Likewise.
102 * Makefile.in: Regenerate.
103 * aclocal.m4: Regenerate.
104 * config.in: Regenerate.
105 * configure: Regenerate.
106
107 2005-04-11 Jan Beulich <jbeulich@novell.com>
108
109 * MAINTAINERS: Add myself as ix86 Intel mode maintainer.
110
111 2005-04-06 Nick Clifton <nickc@redhat.com>
112 H.J. Lu <hongjiu.lu@intel.com>
113
114 * po/rw.po: New translation: Kinyarwanda.
115 * configure.in (ALL_LINGUAS): Add rw.
116 * configure: Regenerate.
117
118 2005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
119
120 * readelf.c (debug_apply_rela_addends): Reorder r_info as
121 necessary for 64-bit MIPS.
122
123 2005-04-04 Maciej W. Rozycki <macro@linux-mips.org>
124
125 * doc/binutils.texi (readelf): Remove a duplicate paragraph.
126
127 2005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
128
129 PR binutils/813
130 * objdump.c (dump_symbols): Add a check to see if the section for
131 the symbol is chosen using process_section_p.
132
133 2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
134
135 * NEWS: Mention new readelf options, "-N/--full-section-name"
136 and "-g/--section-groups".
137
138 * doc/binutils.texi: Document new readelf options,
139 "-N/--full-section-name" and "-g/--section-groups".
140
141 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
142
143 * readelf.c (do_full_section_name): New.
144 (options): Add "--full-section-name"/'N'.
145 (usage): Add -N/--full-section-name.
146 (parse_args): Handle 'N'.
147 (process_section_headers): Print out the full section name if
148 do_full_section_name isn't 0.
149
150 2005-03-31 Nick Clifton <nickc@redhat.com>
151
152 * configure.in: Add a check for <unistd.h> providing a prototype
153 for getopt() which is compatible with the one in
154 include/getopt.h. If so then define HAVE_DECL_GETOPT.
155 * configure: Regenerate.
156 * config.in (HAVE_DECL_GETOPT): Add.
157 * aclocal.m4: Regenerate.
158 * addr2line.c: Include "config.h" before "bfd.h" so that
159 HAVE_DECL_GETOPT is defined before getopt.h is included.
160
161 2005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
162
163 * doc/binutils.texi: Document new VAX disassembler-specific option
164 -M entry:0xfooba8.
165 * NEWS: Mention the new option.
166
167 2005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
168
169 * MAINTAINERS: Add myself as H8300 maintainer.
170
171 2005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
172
173 * objdump.c (disassemble_bytes): Remove cast.
174
175 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
176
177 * BRANCHES: Add binutils-csl-arm-2005q1-branch and
178 binutils-2_16-branch.
179
180 2005-03-25 Mark Kettenis <kettenis@gnu.org>
181
182 * MAINTAINERS: Add myself as M88k maintainer.
183
184 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
185
186 * winduni.c (unicode_from_ascii): Don't declare variables
187 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
188 string len.
189
190 2005-03-24 Dmitry Diky <diwil@spec.ru>
191
192 * MAINTAINERS: Add myself as MSP430 maintainer.
193
194 2005-03-23 Nick Clifton <nickc@redhat.com>
195
196 * po/fr.po: Updated translation.
197
198 2005-03-22 Nick Clifton <nickc@redhat.com>
199
200 * MAINTAINERS: Add Daniel Jacobwitz to the blanket write
201 privileges list.
202
203 2005-03-17 Paul Brook <paul@codesourcery.com>
204 Dan Jacobowitz <dan@codesourcery.com>
205 Mark Mitchell <mark@codesourcery.com>
206
207 * binutils/readelf.c (get_arm_segment_type): New function.
208 (get_segment_type): Use it.
209
210 2005-03-18 Paul Brook <paul@codesourcery.com>
211
212 * objdump.c (objdump_print_addr): Avoid uninitialized warning.
213
214 2005-03-17 Diego Novillo <dnovillo@redhat.com>
215
216 * MAINTAINERS: Remove self as maintainer of x86 intel
217 mode.
218
219 2005-03-16 Nick Clifton <nickc@redhat.com>
220 Ben Elliston <bje@au.ibm.com>
221
222 * configure.in (werror): New switch: Add -Werror to the
223 compiler command line. Enabled by default. Disable via
224 --disable-werror.
225 * configure: Regenerate.
226
227 2005-03-15 Daniel Marques <marques@cs.cornell.edu>
228 Nick Clifton <nickc@redhat.com>
229
230 * objcopy.c (globalize_specific_list): New linked list of symbols
231 to convert from local binding into global binding.
232 (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and
233 OPTION_GLOBALIZE_SYMBOLS.
234 (copy_options): Add "globalize-symbol" and "globalize-symbols".
235 (copy_usage): Document the new switches.
236 (filter_symbols): Convert defined local symbols mentioned on the
237 globalize_specific_list into global symbols.
238 (copy_object): Perform actions if the globalize_specific_list is
239 not empty.
240 (copy_main): Handle new switches.
241 * NEWS: Mention new feature.
242 * doc/binutils.texi: Document new switches.
243
244 2005-03-15 Alan Modra <amodra@bigpond.net.au>
245
246 * po/es.po: Commit new Spanish translation.
247
248 * po/fr.po: Commit new French translation.
249
250 2005-03-14 Alan Modra <amodra@bigpond.net.au>
251
252 * po/tr.po: Commit new Turkish translation.
253
254 2005-03-11 Nick Clifton <nickc@redhat.com>
255
256 * po/fr.po: Updated French translation.
257
258 2005-03-10 Nick Clifton <nickc@redhat.com>
259
260 * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
261 * configure: Regenerate.
262 * po/ro.po: New file.
263
264 * po/ru.po: Updated file.
265
266 2005-03-05 Alan Modra <amodra@bigpond.net.au>
267
268 * po/binutils.pot: Regenerate.
269
270 2005-03-02 Jan Beulich <jbeulich@novell.com>
271
272 * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
273 * objcopy.c (copy_file): Likewise.
274 (strip_main): Likewise.
275
276 2005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net>
277 Nick Clifton <nickc@redhat.com>
278
279 * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
280 (struct objdump_disasm_info): Add 'reloc' field.
281 (disassemble_bytes): Fix check for when an insn has a reloc
282 associated with it. Improve comment explaining why the use of
283 octets is wrong. Set the 'reloc' field in objdump_disasm_info
284 structure.
285 (objdump_print_addr): Use new 'reloc' field to lookup the correct
286 address for the symbol associated with the current instruction's
287 relocation.
288 (disassemble_info): Initialise 'reloc' field.
289
290 2005-02-28 Jakub Jelinek <jakub@redhat.com>
291
292 * readelf.c (get_file_type, get_machine_name, get_osabi_name,
293 get_segment_type, get_section_type_name, get_elf_class,
294 get_data_encoding, get_group_flags, dynamic_section_mips_val,
295 get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
296 get_AT_name, process_mips_specific, process_gnu_liblist,
297 get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
298 sprintf where needed.
299 (get_dynamic_type): Likewise. Increase buff to 64 bytes.
300 (get_elf_section_flags): Increase buff to 33 bytes. Avoid
301 using strcat.
302 (get_dynamic_flags): Renamed to...
303 (print_dynamic_flags): ... this. Print the flags to stdout instead
304 of returning them as string.
305 (process_dynamic_section): Adjust caller.
306
307 2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
308
309 * readelf.c (display_debug_ranges): Print out offset for end of
310 list.
311
312 2005-02-23 Alan Modra <amodra@bigpond.net.au>
313
314 * dlltool.c: Warning fixes.
315 * objdump.c: Likewise.
316
317 2005-02-22 Alan Modra <amodra@bigpond.net.au>
318
319 * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
320 (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
321 dependencies. Run "make dep-am".
322 * nlmconv.c: Warning fixes.
323 * readelf.c: Likewise.
324 * srconv.c: Likewise.
325 * sysdump.c: Likewise.
326 * sysinfo.y: Likewise.
327 * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
328 of strcpy.
329 * Makefile.in: Regenerate.
330
331 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
332
333 * objcopy.c (parse_flags): Replace SEC_SHARED with
334 SEC_COFF_SHARED.
335
336 * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
337 SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
338 SEC_COFF_SHARED for COFF only.
339
340 2005-02-21 Alan Modra <amodra@bigpond.net.au>
341
342 * Makefile.am: Run "make dep-am"
343 * Makefile.in: Regenerate.
344 * doc/Makefile.in: Regenerate.
345
346 2005-02-21 Alan Modra <amodra@bigpond.net.au>
347
348 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
349 (byte_get_little_endian): Don't handle size of -8.
350 (byte_get_signed, byte_get_big_endian): Likewise.
351 (print_dec_vma, print_hex_vma): New functions.
352 (print_vma): Use them. Return chars output.
353 (get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
354 (process_symbol_table): Handle alpha and s390 .hash.
355
356 2005-02-18 H.J. Lu <hongjiu.lu@intel.com>
357
358 * readelf.c (display_debug_loc): Print out offset for end of
359 list.
360
361 2005-02-18 Joseph S. Myers <joseph@codesourcery.com>
362
363 * Makefile.am (TOOL_PROGS): Add objdump.
364 * Makefile.in: Regenerate.
365
366 2005-02-17 Alan Modra <amodra@bigpond.net.au>
367
368 * deflex.l (YY_NO_UNPUT): Define.
369 * rclex.l (YY_NO_UNPUT): Define.
370 * rcparse.y (null_unichar): New static var.
371 (res_null_text): Use it rather than attempting to init from wchar_t.
372 * windres.c: Include assert.h and time.h before getopt.h.
373 Include config.h and unistd.h too.
374
375 2005-02-15 Nick Clifton <nickc@redhat.com>
376
377 * nlmconv.c: Provide a full prototype for the localtime() function
378 in order to avoid a compile time warning.
379
380 2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
381
382 * readelf.c (group_count): Don't initialize it.
383 (process_section_groups): Reurn 1 if we won't do unwind nor
384 section groups. Set group_count to 0 before counting group
385 sections and return 1 if there are no group sections. Reread
386 SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
387 section 0.
388 (process_object): Only set do_unwind to 0 if
389 process_section_groups return 0.
390
391 2005-02-10 Ian Lance Taylor <ian@airs.com>
392
393 * MAINTAINERS: Update my e-mail address.
394
395 2005-02-10 Mark Mitchell <mark@codesourcery.com>
396
397 * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
398 maintainers.
399
400 2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
401
402 * MAINTAINERS: Add self as maintainer of MAXQ.
403
404 2005-01-31 Richard Sandiford <rsandifo@redhat.com>
405
406 * readelf.c (eh_addr_size): New variable.
407 (find_section): Move earlier in file. Return empty sections too.
408 (process_program_headers): Use find_section to find .dynamic.
409 (process_section_headers): Initialize eh_addr_size.
410 (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
411 (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
412 (display_debug_frames): Use it instead of local addr_size variable.
413 (size_of_encoded_value): Get pointer size from eh_addr_size rather
414 than is_32bit_elf.
415
416 2005-01-31 Andrew Cagney <cagney@gnu.org>
417
418 * configure: Regenerate to track ../gettext.m4.
419
420 2005-01-31 Nick Clifton <nickc@redhat.com>
421
422 * version.c (print_version): Bump the copyright date to 2005.
423
424 2005-01-25 Alan Modra <amodra@bigpond.net.au>
425
426 * nm.c (display_rel_file): Read dynamic syms before calling
427 bfd_get_synthetic_symtab.
428
429 2005-01-21 Ben Elliston <bje@au.ibm.com>
430
431 * dlltool.c (dump_iat): Remove unused function.
432 (gen_exp_file): Remove #if 0'd code.
433 (make_one_lib_file): Likewise.
434 * srconv.c: Remove #if 0'd code throughout.
435 * size.c (lprint_number): Remove.
436 (print_berkeley_format): Remove #if 0'd code.
437 * ar.c (do_quick_append): Remove declaration and definiton.
438 (main): Remove #if 0'd code.
439 * filemode.c (filemodestring): Remove #if 0'd function.
440 * sysdump.c (unit_info_list): Remove function.
441 (object_body_list): Likewise.
442 (program_structure): Likewise.
443 (debug_list): Likewise.
444 (module): Remove #if 0'd code.
445
446 2005-01-20 Mark Mitchell <mark@codesourcery.com>
447
448 * BRANCHES: Add binutils-2_15-branch.
449
450 * MAINTAINERS: Document branch policy.
451 * BRANCHES: New file.
452
453 2005-01-19 Fred Fish <fnf@specifixinc.com>
454
455 * NEWS: Make note of the new MIPS disassembly option "no-aliases".
456 * doc/binutils.texi (objdump): Document the "no-aliases"
457 disassembly option.
458
459 2005-01-17 Eugene Kotlyarov <ekot@narod.ru>
460
461 PR binutils/647
462 * rcparse.y (RCDATA): Allow a filename to be supplied as the
463 parameter. Parse it with define_rcdata_file().
464 * resrc.c (define_rcdata_file): New function.
465 * windres.h: Provide a prototype for the new function.
466
467 * resrc.c (define_user_file): Fix typo by replacing "font file"
468 with "file".
469
470 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
471
472 * MAINTAINERS: Update my email address.
473
474 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
475
476 * dlltool.c (set_dll_name_from_def): New function. Strip name
477 to basename, with warning.
478 (def_name): Use it.
479 (def_library): Likwise.
480 (main): Strip arg of --dllname to basename, with warning.
481 Only use basename of exp_name when inferring dll_name.
482
483 2005-01-11 Nick Clifton <nickc@redhat.com>
484
485 PR binutils/637
486 * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
487 footnote in order to prevent the sed script in the Makefile from
488 converting it into c++filt.
489
490 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
491
492 BZ 635
493 readelf.c (saved_base_address): Removed.
494 (decode_64bit_range): Likewise.
495 (decode_range): Likewise.
496 (display_64bit_debug_ranges): Likewise.
497 (debug_info): Add range_lists, num_range_lists and
498 max_range_lists.
499 (read_and_display_attr_value): Handle do_debug_ranges.
500 (process_debug_info): Likewise.
501 (display_debug_ranges): Rewrite.
502 (process_object): Free range_lists.
503
504 2005-01-10 Andreas Schwab <schwab@suse.de>
505
506 * configure.in: Don't define SKIP_ZEROES.
507 * configure: Regenerate.
508 * objdump.c (disassemble_data): Set skip_zeroes and
509 skip_zeroes_at_end in disasm_info to defaults.
510 (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
511 (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
512 always define.
513 (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
514 objdump_disasm_info.
515
516 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
517
518 * readelf.c (display_debug_loc): Display base address
519 specifiers. Always output <End of list>.
520
521 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
522
523 * readelf.c (have_frame_base): New.
524 (need_base_address): Likewise.
525 (saved_base_address): Likewise.
526 (decode_location_expression): Return 1 if DW_AT_frame_base is
527 needed.
528 (debug_info): Add base_address and a have_frame_base pointer.
529 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
530 saved_base_address. Record base address. Set have_frame_base.
531 Record if a location list has DW_AT_frame_base. Display if a
532 location expression has no DW_AT_frame_base but needs one. Set
533 saved_base_address only if needed.
534 (process_debug_info): Clear have_frame_base, saved_base_address
535 and set need_base_address.
536 (display_debug_loc): Display if a location expression has no
537 DW_AT_frame_base but needs one. Display if start >= end. Don't
538 adjust for section address. Properly handle base address.
539 (process_object): Free the have_frame_base pointer in
540 debug_info.
541
542 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
543
544 * readelf.c (display_debug_loc): Display offsets for hole and
545 overlap.
546 (display_debug_str): Add a newline at the end.
547
548 2005-01-04 Armin Diehl <diehl@nordrhein.de>
549
550 PR binutils/630
551 * nlmconv.c (main): Only store the basename of the output filename
552 in the module table.
553
554 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
555
556 BZ 615
557 * readelf.c (process_debug_info): New.
558 (debug_info): Add num_loc_offsets, loc_offsets and
559 last_loc_offset_p.
560 (get_debug_info): Use process_debug_info.
561 (display_debug_loc): Properly handle location list. Warn if bad
562 location lists are encoutnered.
563 (read_and_process_attr_value): New.
564 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
565 (display_debug_info): Use process_debug_info.
566 (process_object): Also free loc_offsets in debug_information.
567
568 2004-12-31 Alan Modra <amodra@bigpond.net.au>
569
570 * objdump.c (remove_useless_symbols): Discard section symbols.
571
572 2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
573
574 * readelf.c (read_leb128): Support 64bit host.
575
576 2004-12-23 Nick Clifton <nickc@redhat.com>
577
578 PR binutils/616
579 * readelf.c (debug_info): Add 'cu_offset' field.
580 (get+pointer_size_of_comp_unit): Rename to
581 'get_pointer_size_and_offset_of_comp_unit'. Add code to return
582 the offset of the comp_unit if requested.
583 (get_debug_info): Record comp_unit offsets as well.
584 (display_debug_lines): Call get_pointer_size_of_comp_unit.
585 (decode_location_expression): Add an extra parameter - the offset
586 of the current comp-unit. Use this when decoding the DW_OP_call2
587 and DW_OP_call4 operators.
588 (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the
589 comp_unit offset on the decode_location_expression.
590 (read_and_display_attr_value): Pass the comp_unit offset on the
591 decode_location_expression.
592 (display_debug_frames): Pass 0 as the comp_unit offset to
593 decode_location_expression.
594
595 2004-12-22 Nick Clifton <nickc@redhat.com>
596
597 * readelf.c (last_pointer_size, warned_about_missing_comp_units):
598 New variables associated with obtaining the pointer size for a
599 comp_unit.
600 (get_pointer_size_of_comp_unit): Add an extra parameter - the name
601 of the section requesting the pointer size. Use this name in
602 error messages. If there are not enough comp_units available
603 produce a warning message, but return the last known pointer size
604 so that section dumping can continue.
605 (get_debug_info): Reset the new variables.
606 (display_debug_lines): Add extra parameter to invocation of
607 get_pointer_size_of_comp_unit and remove error message when it
608 returns 0.
609 (display_debug_loc): Likewise.
610
611 2004-12-15 Jan Beulich <jbeulich@novell.com>
612
613 * doc/binutils.texi: Document --strip-unneeded-symbol and
614 --strip-unneeded-symbols.
615 * objcopy.c (strip_unneeded_list): New.
616 (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
617 and OPTION_STRIP_UNNEEDED_SYMBOLS.
618 (copy_options): Add --strip-unneeded-symbol and
619 --strip-unneeded-symbols.
620 (copy_usage): Likewise.
621 (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
622 and the symbol is not needed.
623 (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
624 OPTION_STRIP_UNNEEDED_SYMBOLS.
625
626 2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
627
628 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
629
630 2004-12-08 Ben Elliston <bje@au.ibm.com>
631
632 * arlex.l: Fix formatting.
633
634 2004-12-08 Ben Elliston <bje@au.ibm.com>
635
636 * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
637 config.texi whose value is the current month and year.
638 * doc/Makefile.in: Rebuild.
639 * doc/binutils.texi: Set the document subtitle to be the value of
640 the Texinfo UPDATED variable (obtained from config.texi).
641
642 2004-12-07 Ben Elliston <bje@au.ibm.com>
643
644 PR binutils/249
645 * doc/binutils.texi (def file format): New node.
646 (dlltool): Use the tool name as the @chapter name, like all the
647 other binutils. Use @file{.def} throughout for consistency.
648
649 2004-12-06 Ben Elliston <bje@au.ibm.com>
650
651 * dlltool.c: Comment fix.
652
653 2004-12-06 Ben Elliston <bje@au.ibm.com>
654
655 * doc/binutils.texi: Update copyright years.
656
657 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
658
659 * MAINTAINERS: Remove mention of config.if.
660
661 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
662
663 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
664 * Makefile.in: Regenerate.
665
666 2004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
667
668 PR binutils/536
669 * stabs.c (stab_demangle_template): Call stab_demangle_count
670 rather than stab_demangle_get_count to get the length of a pointer
671 target.
672
673 2004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
674
675 * defparse.y: Remove unnecessary commas from token list.
676
677 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
678
679 * doc/binutils.texi (nm): Update description of weak symbols.
680
681 2004-11-03 Nick Clifton <nickc@redhat.com>
682
683 * readelf.c (do_debug_ranges): New variable.
684 (usage): Document new switch: -wR or --debug-dump=Ranges.
685 (parse_args): Handle new switch. Replace switch statement for the
686 long options with a more compact table structure.
687 (process_section_headers): Allow the dumping of .debug_ranges
688 sections if so requested.
689 (debug_displays): Likewise.
690 (load_debug_range): New function: Grabs the contents of a
691 .debug_ranges section.
692 (free_debug_range): New function: Releases the grabbed
693 .debug_ranges section.
694 (decode_64bit_range): New function: Displays a 64-bit range in a
695 .debug_ranges section.
696 (decode_range): New function: Displays a 32-bit range in a
697 .debug_ranges section.
698 (read_and_display_attr_value): Record the value of DW_AT_low_pc
699 attributes. Use decode_ranges() to display a DW_AT_ranges
700 attribute.
701 (display_debug_info): Use load_debug_range() and
702 free_debug_range().
703 (display_64bit_debug_ranges): New function. Displays the contents
704 of a 64-bit format .debug_ranges section.
705 (display_debug_ranges): New function: Displays the contents of a
706 32-bit .debug_ranges section.
707
708 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
709 global scope.
710 (process_object): Initialise the dump_sects array from the
711 cmdline_dump_sects array before processing each object file.
712
713 (streq, strneq): New macros. Use them to replace occurrences of
714 strcmp() and strncmp().
715
716 (debug_information): New structure array to replace
717 debug_line_pointer_sizes array.
718 (num_debug_info_entries): New variable to replace
719 num_debug_line_pointers.
720 (get_pointer_size_of_comp_unit): New function: Returns the pointer
721 size of a given compilation unit.
722 (get_debug_info): New function to replace
723 get_debug_line_pointer_sizes.
724 (display_debug_lines): Use the new functions.
725 (display_debug_loc): Likewise.
726
727 (disassemble_section): Change return type to int.
728 (display_debug_lines): Move local variables to their
729 innermost scope.
730 (display_debug_section): Likewise. Also record the return value
731 of functions called and pass this back to the parent. Also only
732 warn about undumped sections when the user explicitly requested
733 their dumping.
734
735 (debug_apply_rela_addends): Allow relocations against STT_OBJECT
736 types as well.
737
738 * NEWS: Mention the support for decoding .debug_ranges sections.
739 * doc/binutils.texi: Document the new command line switch to
740 readelf.
741
742 2004-11-03 Randolph Chung <tausq@debian.org>
743
744 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
745 unw_aux_info and unw_table_entry.
746 (find_symbol_for_address): Pass symtab and strtab info explicitly.
747 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
748 prefix.
749 (slurp_ia64_unwind_table): Likewise.
750 (ia64_process_unwind): Rename from old process_unwind.
751 (hppa_unw_aux_info): New.
752 (dump_hppa_unwind): New.
753 (slurp_hppa_unwind_table): New.
754 (hppa_process_unwind): New.
755 (process_unwind): Factor out common unwinding checks; dispatch to
756 unwind handler based on machine type.
757
758 2004-11-02 Nick Clifton <nickc@redhat.com>
759
760 * readelf.c (display_debug_lines): Fix typo in error message.
761
762 2004-10-26 Mark Mitchell <mark@codesourcery.com>
763
764 * readelf.c (get_note_type): Handle notes not in core files.
765 (process_note_sections): New function.
766 (process_corefile_contents): Rename to ...
767 (process_notes): ... this.
768 (process_object): Call process_notes, not
769 process_corefile_contents.
770 * doc/binutils.texi: Update readelf -n documentation.
771
772 2004-10-26 Jakub Jelinek <jakub@redhat.com>
773
774 * ar.c (extract_file): Set atime to mtime for ar xo.
775
776 2004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
777
778 * stabs.c (stab_demangle_v3_arglist): New static function, broken
779 out of stab_demangle_v3_argtypes.
780 (stab_demangle_v3_argtypes): Call it.
781 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
782 If we find an unrecognized component, print out its number.
783
784 2004-10-25 David Mosberger <davidm@hpl.hp.com>
785
786 * readelf.c (slurp_ia64_unwind_table): Support relocations against
787 non-section symbols by adding in the symbol value.
788
789 2004-10-25 Nick Clifton <nickc@redhat.com>
790
791 PR 465
792 * readelf.c (dynamic_strings_length): New global variable.
793 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
794 strings in the dynamic string table.
795 (process_section_headers): Initialise dynamic_strings_length.
796 (process_dynamic_section): Likewise.
797 (process_object): Reset dynamic_string_length when the buffer is freed.
798 (dynamic_sections_mips_val): Use the new macros.
799 (process_dynamic_section): Likewise.
800 (process_version_sections): Likewise.
801 (process_symbol_table): Likewise.
802 (process_syminfo): Likewise.
803 (process_mips_specific): Likewise.
804 (dump_relocations): Add a new parameter 'strtablen' and use this
805 to verify that string offset in a given reloc is valid. Print a
806 suitable error message otherwise.
807 (process_relocs): Pass the new argument to dump_relocations.
808
809 2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
810
811 * dlltool.c: Include <assert.h>.
812 (PREFIX_ALIAS_BASE): Define.
813 (struct export): Add member import_name;
814 (def_exports): Set import_name.
815 (make_one_lib_file): Remove prefix alias code, use import_name
816 in .idata$6.
817 (gen_lib_file): Create and delete aliases.
818
819 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
820
821 * readelf.c (process_section_groups): Free symtab after use.
822
823 2004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
824 Nick Clifton <nickc@redhat.com>
825
826 * strings.c (usage): Place radix values for -t option into the
827 correct order.
828
829 * objcopy.c (add_redefine_syms_file): Change error messages to use
830 <filename>:<linenumber>: format for easier parsing by automatic
831 tools.
832
833 * srconv.c (show_usage): Fix spelling typo.
834
835 * windres.c (format_from_filename): Suggest the use of -J instead
836 of -I if the file type cannot be determined.
837
838 2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
839
840 * strings.c: Include <sys/stat.h>.
841
842 2004-10-18 Alan Modra <amodra@bigpond.net.au>
843
844 * budemang.c (demangle): Fix thinko.
845
846 * budemang.c (demangle): Handle "@plt" suffix.
847
848 2004-10-14 Nick Clifton <nickc@redhat.com>
849
850 * nm.c (usage): Fix description of --special-syms switch.
851
852 2004-10-13 Jakub Jelinek <jakub@redhat.com>
853
854 * strings.c (statbuf): New typedef.
855 (file_stat): Define.
856 (strings_object_file): Avoid using get_file_size, instead do the
857 checks here, using file_stat.
858 * configure.in (HAVE_STAT64): New test.
859 * configure: Rebuilt.
860 * config.in: Rebuilt.
861
862 2004-10-12 Paul Brook <paul@codesourcery.com>
863
864 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
865
866 2004-10-11 Alan Modra <amodra@bigpond.net.au>
867
868 * objdump.c (dump_symbols): Fix thinko last change. Improve error
869 messages.
870
871 2004-10-08 Nick Clifton <nickc@redhat.com>
872
873 * nm.c: Add a new switch --special-syms which, if enabled, will
874 include the ARM Mapping symbols in nm's output.
875 (usage): Mention the switch.
876 (filter_symbols): Handle the switch.
877 * objdump.c: Add a similar switch.
878 (usage): Mention the switch.
879 (dump_symbols): Handle the switch.
880 * doc/binutils.texi: Document the new switches.
881 * NEWS: Mention the new switches.
882
883 2004-10-08 Daniel Jacobowitz <dan@debian.org>
884
885 * readelf.c (get_x86_64_section_type_name): New function.
886 (get_section_type_name): Use it.
887
888 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
889
890 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
891 patches.
892 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
893
894 2004-10-07 Alexandre Oliva <aoliva@redhat.com>
895
896 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
897 types.
898
899 2004-10-01 Paul Brook <paul@codesourcery.com>
900
901 * readelf.c (get_arm_section_type_name): New function.
902 (get_section_type_name): Use it.
903
904 2004-09-28 Nick Clifton <nickc@redhat.com>
905
906 * nm.c: Reorder functions to eliminate most of the static function
907 prototypes.
908
909 2004-09-22 Alan Modra <amodra@bigpond.net.au>
910
911 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
912 segments.
913
914 2004-09-17 Alan Modra <amodra@bigpond.net.au>
915
916 * Makefile.am: Run "make dep-am".
917 * Makefile.in: Regenerate.
918 * config.in: Regenerate.
919 * configure: Regenerate.
920 * doc/Makefile.in: Regenerate.
921 * po/binutils.pot: Regenerate.
922
923 2004-09-12 Alan Modra <amodra@bigpond.net.au>
924
925 * readelf.c (decode_location_expression): Sign extend value for
926 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
927
928 2004-09-09 Nick Clifton <nickc@redhat.com>
929
930 PR 363
931 * ar.c (replace_members): Do not use get_file_size as
932 ar_emul_append correctly handles missing files.
933
934 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
935
936 * configure: Regenerated with autconfig 2.13.
937
938 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
939
940 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
941 documentation.
942
943 2004-09-06 Michael Wardle <mbw@endbracket.net>
944
945 * doc/binutils.texi (objdump): Document that the -x switch includes
946 the effect of the -p switch.
947
948 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
949
950 * dlltool.c (make_one_lib_file): Test if internal_name was
951 specified by user before using it.
952
953 2004-09-02 Carlo Wood <carlo@alinoe.com>
954
955 PR binutils/351
956 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
957 exp->internal_name if it is present.
958
959 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
960
961 * MAINTAINERS: Add self as co-maintainer of FR-V.
962 * readelf.c (get_machine_flags): Print FR-V cpu types.
963
964 2004-08-28 Alan Modra <amodra@bigpond.net.au>
965
966 * nm.c (show_synthetic): New var.
967 (long_options): Add "synthetic".
968 (usage): Here too.
969 (display_rel_file): Handle show_synthetic.
970
971 2004-08-28 Alan Modra <amodra@bigpond.net.au>
972
973 * objdump.c (dump_bfd): Pass both symbol tables to
974 bfd_get_synthetic_symtab.
975
976 2004-08-17 Jakub Jelinek <jakub@redhat.com>
977
978 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
979 of dynsyms to bfd_get_synthetic_symtab.
980
981 2004-08-16 Alan Modra <amodra@bigpond.net.au>
982
983 * readelf.c (debug_apply_rela_addends): New function, extracted from..
984 (display_debug_info): ..here.
985 (display_debug_frames): Call debug_apply_rela_addends. Don't do
986 DW_EH_PE_pcrel adjustment for ET_REL.
987
988 2004-08-06 Andreas Schwab <schwab@suse.de>
989
990 * readelf.c (dump_relocations): Fix typo when calculating
991 sec_index.
992
993 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
994
995 * dllwrap.c (deduce_name): Fix typos introduced when program_name
996 was renamed to prog_name.
997
998 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
999
1000 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
1001 EF_SH2A_NOFPU.
1002
1003 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
1004
1005 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
1006 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
1007 EF_SH4A_NOFPU.
1008 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
1009 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
1010
1011 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
1014 to access comdat.
1015 * objdump.c (dump_section_header): Likewise.
1016
1017 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
1018
1019 * nlmconv.c (main): Pass map_file argument to link_inputs.
1020 (link_inputs): Use map_file argument if it is defined.
1021
1022 2004-07-13 Nick Clifton <nickc@redhat.com>
1023
1024 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
1025 conflicts with exported global defined in bucomm.h.
1026 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
1027 shadowing the global defined in bucomm.h.
1028
1029 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1030
1031 * dlltool.c (ext_prefix_alias): New global variable.
1032 (make_one_lib_file): Add aliases with prefixes for external
1033 and import definitions.
1034 (usage): Document -p option.
1035 (long_options): Add --ext-prefix-alias option.
1036 (main): Handle -p.
1037 * doc/binutils.texi: Document new switch.
1038 * NEWS: Mention new switch.
1039
1040 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1041
1042 * binutils/dlltool.c (asm_prefix): Add parameter: name.
1043 No underscore for symbols beginning with ?.
1044 (ASM_PREFIX): Add parameter: NAME.
1045 (gen_exp_file): Use new parameter.
1046 (make_label): Likewise.
1047 (make_imp_label): Likewise.
1048 (make_one_lib_file): Likewise.
1049
1050 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
1051
1052 * MAINTAINERS: Added myself to the list.
1053 * readelf.c: Include "elf/crx.h".
1054 (guess_is_rela): Handle EM_CRX.
1055 (get_machine_name): Likewise.
1056 (dump_relocations): Likewise.
1057
1058 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1059
1060 * doc/binutils.texi (nm): Clarify weak symbol description.
1061
1062 2004-06-24 Ben Elliston <bje@au.ibm.com>
1063
1064 * readelf.c (get_segment_type): Display "GNU_STACK", not just
1065 "STACK", when a PT_GNU_STACK segment is encountered.
1066
1067 2004-06-24 Alan Modra <amodra@bigpond.net.au>
1068
1069 * objcopy.c (copy_section): Don't set _cooked_size.
1070
1071 2004-06-22 Alan Modra <amodra@bigpond.net.au>
1072
1073 * readelf.c (Elf32_Word): Delete.
1074 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
1075 (get_64bit_dynamic_section): Likewise.
1076
1077 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
1078 (get_64bit_dynamic_section): Likewise.
1079
1080 * readelf.c (dynamic_nent): New variable.
1081 (get_32bit_dynamic_section): Set it.
1082 (get_64bit_dynamic_section): Here too.
1083 (process_dynamic_section): Use it instead of dynamic_size.
1084 (process_syminfo): Likewise.
1085
1086 * readelf.c (get_32bit_dynamic_section): Correct number of entries
1087 translated from external to internal form.
1088 (get_64bit_dynamic_section): Likewise.
1089
1090 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
1091
1092 * readelf.c (process_program_headers): When locating the dynamic
1093 section use the section table if it is present.
1094 (dynamic_segment): Renamed to dynamic_section.
1095 Replace references to dynamic segment with references to dynamic
1096 section, except where appropriate.
1097 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
1098 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
1099 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
1100 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
1101 Remove tag counting code as it is no longer needed.
1102 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
1103 Remove tag counting code as it is no longer needed.
1104 (process_dynamic_segment): Rename to process_dynamic_section.
1105
1106 2004-06-15 Alan Modra <amodra@bigpond.net.au>
1107
1108 * objcopy.c (copy_section): Use bfd_get_section_size instead of
1109 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
1110 (compare_section_lma): Likewise.
1111 * addr2line.c (find_address_in_section): Likewise.
1112 * coffgrok.c (do_sections_p1): Likewise.
1113 * dlltool.c (scan_drectve_symbols): Likewise.
1114 * nlmconv.c (main): Likewise.
1115 (copy_sections): Likewise.
1116 (powerpc_mangle_relocs): Likewise.
1117 * objdump.c (disassemble_section): Likewise.
1118 * prdbg.c (find_address_in_section): Likewise.
1119 * size.c (berkeley_sum): Likewise.
1120 * srconv.c (wr_ob): Likewise.
1121 * strings.c (strings_a_section): Likewise.
1122
1123 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
1124
1125 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
1126
1127 2004-05-17 David Heine <dlheine@tensilica.com>
1128
1129 * objcopy.c (setup_bfd_headers): New function.
1130 (copy_object): Call setup_bfd_headers.
1131
1132 2004-05-13 Paul Brook <paul@codesourcery.com>
1133
1134 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
1135 entries.
1136
1137 2004-05-13 Nick Clifton <nickc@redhat.com>
1138
1139 * po/fr.po: Updated French translation.
1140
1141 2004-05-11 Jakub Jelinek <jakub@redhat.com>
1142
1143 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
1144
1145 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 * readelf.c (section_groups): New.
1148 (group_count): New.
1149 (section_headers_groups): New.
1150 (process_section_groups): Populate group_count, section_groups
1151 and section_headers_groups.
1152 (process_unwind): Support section group.
1153 (process_object): Always call process_section_groups. Free
1154 section_groups and section_headers_groups.
1155
1156 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
1157
1158 * readelf.c (process_section_headers): Use %3lu on sh_info.
1159
1160 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
1161
1162 * ranlib.sh: Quote $1 argument in case it contains spaces.
1163
1164 2004-04-27 John Paul Wallington <jpw@gnu.org>
1165
1166 * objcopy.c (copy_usage, strip_usage): Fix spelling.
1167
1168 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
1169
1170 * readelf.c (do_section_groups): New.
1171 (options): Add --section-groups/-g.
1172 (usage): Mention --section-groups/-g.
1173 (parse_args): Support --section-groups/-g.
1174 (get_group_flags): New.
1175 (process_section_groups): New.
1176 (process_object): Call process_section_groups.
1177
1178 2004-04-24 Alan Modra <amodra@bigpond.net.au>
1179
1180 * objdump.c (disassemble_section): Don't disassemble sections
1181 without SEC_HAS_CONTENTS.
1182
1183 2004-04-22 Jakub Jelinek <jakub@redhat.com>
1184
1185 * objdump.c (synthsyms, synthcount): New variables.
1186 (disassemble_data): Use dynsyms for stripped binaries or libraries.
1187 Add synthetized symbols.
1188 (dump_bfd): For disassemble, initialize dynsyms always and
1189 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
1190 before returning.
1191
1192 2004-04-14 Alan Modra <amodra@bigpond.net.au>
1193
1194 * strings.c (print_strings): Cast file_off to unsigned long in
1195 printf arg list.
1196
1197 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
1198
1199 PR 86
1200 * arsup.c (ar_save): Use smart_rename.
1201
1202 2004-04-01 Dean Luick <luick@cray.com>
1203
1204 * readelf.c (display_debug_pubnames): Align offset and data
1205 columns.
1206 (read_and_display_attr_value): Add missing break;
1207 (debug_displays): Enable the display of the .debug_pubtypes
1208 section.
1209
1210 2004-03-30 Stan Shebs <shebs@apple.com>
1211
1212 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
1213 support files, no longer used.
1214
1215 2004-03-23 Paul Brook <paul@codesourcery.com>
1216
1217 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
1218
1219 2004-03-21 Richard Henderson <rth@redhat.com>
1220
1221 * readelf.c (display_debug_frames): Don't crash for mismatched
1222 DW_CFA_restore_state.
1223
1224 2004-03-19 Alan Modra <amodra@bigpond.net.au>
1225
1226 * Makefile.am: Run "make dep-am".
1227 * Makefile.in: Regenerate.
1228 * aclocal.m4: Regenerate.
1229 * config.in: Regenerate.
1230 * configure: Regenerate.
1231 * po/binutils.pot: Regenerate.
1232
1233 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
1234
1235 * objdump.c (struct SFILE): Replace current pointer with pos
1236 offset, rename size to alloc.
1237 (objdump_sprintf): Avoid unnecessary copies in the common case
1238 (disassemble_bytes): Keep sfile live throughout the
1239 function. Adjust usage appropriately.
1240
1241 2004-03-10 Ben Elliston <bje@gnu.org>
1242
1243 * MAINTAINERS: Update my mail address.
1244
1245 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1246
1247 * deflex.l: Handle "PRIVATE" string.
1248 * defparse.y (%token): Add PRIVATE.
1249 (%type): Add opt_PRIVATE.
1250 (expline): Pass opt_PRIVATE to def_exports.
1251 (opt_PRIVATE): Handle PRIVATE token.
1252 * dlltool.h (def_exports): Add 7th param for private flag to
1253 declaration.
1254 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
1255 (struct export): Add 'private' field.
1256 (def_exports): Set 'private' field of struct exports.
1257 (scan_drectve_symbols): Adjust calls to def_exports.
1258 (scan_filtered_symbols): Likewise.
1259 (dump_def_info): Print 'private' field.
1260 (gen_def_file): Likewise.
1261 (gen_lib_file): Skip generation of lib object if private.
1262 Delete tmp object files in same order as they were generated.
1263 Don't delete non-existent private object files.
1264
1265 2004-02-27 Andreas Schwab <schwab@suse.de>
1266
1267 * ar.c (main): Support POSIX-compatible argument parsing.
1268
1269 2004-02-23 Daniel Lucq <daniel@lucq.org>
1270
1271 * readelf.c (process_mips_specific): Print conflictsno as an
1272 unsigned long.
1273
1274 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
1275
1276 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
1277
1278 2004-02-19 Jakub Jelinek <jakub@redhat.com>
1279
1280 * objcopy.c (copy_section): Avoid warnings.
1281
1282 2004-02-14 Andrew Cagney <cagney@redhat.com>
1283
1284 * ar.c (remove_output): Use bfd_cache_close.
1285 * arsup.c (ar_end): Ditto.
1286
1287 2004-01-21 Roland McGrath <roland@redhat.com>
1288
1289 * readelf.c (get_note_type): Match NT_AUXV.
1290
1291 2004-01-20 Nick Clifton <nickc@redhat.com>
1292
1293 * version.c (print_version): Update copyright year to 2004.
1294
1295 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1296
1297 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1298 throughout.
1299 * aclocal.m4: Regenerate.
1300 * configure: Regenerate.
1301
1302 2004-01-12 Jakub Jelinek <jakub@redhat.com>
1303
1304 * objcopy.c: Include elf-bfd.h.
1305 (is_strip_section): Don't strip debugging sections if
1306 STRIP_NONDEBUG.
1307 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
1308 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
1309
1310 * objcopy.c (copy_section): Free relpp if relcount == 0.
1311
1312 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
1313
1314 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
1315 (stab_demangle_argtypes): Likewise.
1316 (stab_demangle_v3_argtypes): New static function.
1317 (stab_demangle_v3_arg): New static function.
1318
1319 2004-01-12 Nick Clifton <nickc@redhat.com>
1320
1321 * objcopy.c (copy_object): Make the function boolean, returning
1322 FALSE upon failure.
1323 (copy_archive): Handle the return value from copy_object.
1324 (copy_file): Likewise.
1325
1326 2004-01-07 Nick Clifton <nickc@redhat.com>
1327
1328 * readelf.c (find_section): New function. Locates a named
1329 section.
1330 (get_debug_line_pointer_sizes): New function: Initialises the
1331 debug_line_pointer_sizes array.
1332 (display_debug_lines): Call get_debug_line_pointer_sizes.
1333 (display_debug_loc): Likewise.
1334 (load_debug_loc): Use find_section.
1335 (load_debug_str): Likewise.
1336 (display_debug_info): Likewise.
1337 (prescan_debug_info): Delete.
1338 (debug_displays): Remove prescan field.
1339 (process_section_contents): Do not perform prescans.
1340
1341 2004-01-03 Alan Modra <amodra@bigpond.net.au>
1342
1343 * objcopy.c (filter_bytes): Delete. Move code to..
1344 (copy_section): ..here. Simplify size adjustment. Divide
1345 section lma by interleave.
1346
1347 2004-01-02 Nick Clifton <nickc@redhat.com>
1348
1349 * po/ru.po: New file: Russian translation.
1350 * configure.in (ALL_LINGUAS): Add ru
1351 * configure: Regenerate.
1352
1353 For older changes see ChangeLog-0203
1354 \f
1355 Local Variables:
1356 mode: change-log
1357 left-margin: 8
1358 fill-column: 74
1359 version-control: never
1360 End:
This page took 0.09505 seconds and 4 git commands to generate.