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