Add support to readelf to decode and display the contents of .debug_ranges
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2004-11-03 Nick Clifton <nickc@redhat.com>
2
3 * readelf.c (do_debug_ranges): New variable.
4 (usage): Document new switch: -wR or --debug-dump=Ranges.
5 (parse_args): Handle new switch. Replace switch statement for the
6 long options with a more compact table structure.
7 (process_section_headers): Allow the dumping of .debug_ranges
8 sections if so requested.
9 (debug_displays): Likewise.
10 (load_debug_range): New function: Grabs the contents of a
11 .debug_ranges section.
12 (free_debug_range): New function: Releases the grabbed
13 .debug_ranges section.
14 (decode_64bit_range): New function: Displays a 64-bit range in a
15 .debug_ranges section.
16 (decode_range): New function: Displays a 32-bit range in a
17 .debug_ranges section.
18 (read_and_display_attr_value): Record the value of DW_AT_low_pc
19 attributes. Use decode_ranges() to display a DW_AT_ranges
20 attribute.
21 (display_debug_info): Use load_debug_range() and
22 free_debug_range().
23 (display_64bit_debug_ranges): New function. Displays the contents
24 of a 64-bit format .debug_ranges section.
25 (display_debug_ranges): New function: Displays the contents of a
26 32-bit .debug_ranges section.
27
28 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
29 global scope.
30 (process_object): Initialise the dump_sects array from the
31 cmdline_dump_sects array before processing each object file.
32
33 (streq, strneq): New macros. Use them to replace occurrences of
34 strcmp() and strncmp().
35
36 (debug_information): New structure array to replace
37 debug_line_pointer_sizes array.
38 (num_debug_info_entries): New variable to replace
39 num_debug_line_pointers.
40 (get_pointer_size_of_comp_unit): New function: Returns the pointer
41 size of a given compilation unit.
42 (get_debug_info): New function to replace
43 get_debug_line_pointer_sizes.
44 (display_debug_lines): Use the new functions.
45 (display_debug_loc): Likewise.
46
47 (disassemble_section): Change return type to int.
48 (display_debug_lines): Move local variables to their
49 innermost scope.
50 (display_debug_section): Likewise. Also record the return value
51 of functions called and pass this back to the parent. Also only
52 warn about undumped sections when the user explicitly requested
53 their dumping.
54
55 (debug_apply_rela_addends): Allow relocations against STT_OBJECT
56 types as well.
57
58 * NEWS: Mention the support for decoding .debug_ranges sections.
59 * doc/binutils.texi: Document the new command line switch to
60 readelf.
61
62 2004-11-03 Randolph Chung <tausq@debian.org>
63
64 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
65 unw_aux_info and unw_table_entry.
66 (find_symbol_for_address): Pass symtab and strtab info explicitly.
67 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
68 prefix.
69 (slurp_ia64_unwind_table): Likewise.
70 (ia64_process_unwind): Rename from old process_unwind.
71 (hppa_unw_aux_info): New.
72 (dump_hppa_unwind): New.
73 (slurp_hppa_unwind_table): New.
74 (hppa_process_unwind): New.
75 (process_unwind): Factor out common unwinding checks; dispatch to
76 unwind handler based on machine type.
77
78 2004-11-02 Nick Clifton <nickc@redhat.com>
79
80 * readelf.c (display_debug_lines): Fix typo in error message.
81
82 2004-10-26 Mark Mitchell <mark@codesourcery.com>
83
84 * readelf.c (get_note_type): Handle notes not in core files.
85 (process_note_sections): New function.
86 (process_corefile_contents): Rename to ...
87 (process_notes): ... this.
88 (process_object): Call process_notes, not
89 process_corefile_contents.
90 * doc/binutils.texi: Update readelf -n documentation.
91
92 2004-10-26 Jakub Jelinek <jakub@redhat.com>
93
94 * ar.c (extract_file): Set atime to mtime for ar xo.
95
96 2004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
97
98 * stabs.c (stab_demangle_v3_arglist): New static function, broken
99 out of stab_demangle_v3_argtypes.
100 (stab_demangle_v3_argtypes): Call it.
101 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
102 If we find an unrecognized component, print out its number.
103
104 2004-10-25 David Mosberger <davidm@hpl.hp.com>
105
106 * readelf.c (slurp_ia64_unwind_table): Support relocations against
107 non-section symbols by adding in the symbol value.
108
109 2004-10-25 Nick Clifton <nickc@redhat.com>
110
111 PR 465
112 * readelf.c (dynamic_strings_length): New global variable.
113 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
114 strings in the dynamic string table.
115 (process_section_headers): Initialise dynamic_strings_length.
116 (process_dynamic_section): Likewise.
117 (process_object): Reset dynamic_string_length when the buffer is freed.
118 (dynamic_sections_mips_val): Use the new macros.
119 (process_dynamic_section): Likewise.
120 (process_version_sections): Likewise.
121 (process_symbol_table): Likewise.
122 (process_syminfo): Likewise.
123 (process_mips_specific): Likewise.
124 (dump_relocations): Add a new parameter 'strtablen' and use this
125 to verify that string offset in a given reloc is valid. Print a
126 suitable error message otherwise.
127 (process_relocs): Pass the new argument to dump_relocations.
128
129 2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
130
131 * dlltool.c: Include <assert.h>.
132 (PREFIX_ALIAS_BASE): Define.
133 (struct export): Add member import_name;
134 (def_exports): Set import_name.
135 (make_one_lib_file): Remove prefix alias code, use import_name
136 in .idata$6.
137 (gen_lib_file): Create and delete aliases.
138
139 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
140
141 * readelf.c (process_section_groups): Free symtab after use.
142
143 2004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
144 Nick Clifton <nickc@redhat.com>
145
146 * strings.c (usage): Place radix values for -t option into the
147 correct order.
148
149 * objcopy.c (add_redefine_syms_file): Change error messages to use
150 <filename>:<linenumber>: format for easier parsing by automatic
151 tools.
152
153 * srconv.c (show_usage): Fix spelling typo.
154
155 * windres.c (format_from_filename): Suggest the use of -J instead
156 of -I if the file type cannot be determined.
157
158 2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
159
160 * strings.c: Include <sys/stat.h>.
161
162 2004-10-18 Alan Modra <amodra@bigpond.net.au>
163
164 * budemang.c (demangle): Fix thinko.
165
166 * budemang.c (demangle): Handle "@plt" suffix.
167
168 2004-10-14 Nick Clifton <nickc@redhat.com>
169
170 * nm.c (usage): Fix description of --special-syms switch.
171
172 2004-10-13 Jakub Jelinek <jakub@redhat.com>
173
174 * strings.c (statbuf): New typedef.
175 (file_stat): Define.
176 (strings_object_file): Avoid using get_file_size, instead do the
177 checks here, using file_stat.
178 * configure.in (HAVE_STAT64): New test.
179 * configure: Rebuilt.
180 * config.in: Rebuilt.
181
182 2004-10-12 Paul Brook <paul@codesourcery.com>
183
184 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
185
186 2004-10-11 Alan Modra <amodra@bigpond.net.au>
187
188 * objdump.c (dump_symbols): Fix thinko last change. Improve error
189 messages.
190
191 2004-10-08 Nick Clifton <nickc@redhat.com>
192
193 * nm.c: Add a new switch --special-syms which, if enabled, will
194 include the ARM Mapping symbols in nm's output.
195 (usage): Mention the switch.
196 (filter_symbols): Handle the switch.
197 * objdump.c: Add a similar switch.
198 (usage): Mention the switch.
199 (dump_symbols): Handle the switch.
200 * doc/binutils.texi: Document the new switches.
201 * NEWS: Mention the new switches.
202
203 2004-10-08 Daniel Jacobowitz <dan@debian.org>
204
205 * readelf.c (get_x86_64_section_type_name): New function.
206 (get_section_type_name): Use it.
207
208 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
209
210 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
211 patches.
212 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
213
214 2004-10-07 Alexandre Oliva <aoliva@redhat.com>
215
216 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
217 types.
218
219 2004-10-01 Paul Brook <paul@codesourcery.com>
220
221 * readelf.c (get_arm_section_type_name): New function.
222 (get_section_type_name): Use it.
223
224 2004-09-28 Nick Clifton <nickc@redhat.com>
225
226 * nm.c: Reorder functions to eliminate most of the static function
227 prototypes.
228
229 2004-09-22 Alan Modra <amodra@bigpond.net.au>
230
231 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
232 segments.
233
234 2004-09-17 Alan Modra <amodra@bigpond.net.au>
235
236 * Makefile.am: Run "make dep-am".
237 * Makefile.in: Regenerate.
238 * config.in: Regenerate.
239 * configure: Regenerate.
240 * doc/Makefile.in: Regenerate.
241 * po/binutils.pot: Regenerate.
242
243 2004-09-12 Alan Modra <amodra@bigpond.net.au>
244
245 * readelf.c (decode_location_expression): Sign extend value for
246 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
247
248 2004-09-09 Nick Clifton <nickc@redhat.com>
249
250 PR 363
251 * ar.c (replace_members): Do not use get_file_size as
252 ar_emul_append correctly handles missing files.
253
254 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
255
256 * configure: Regenerated with autconfig 2.13.
257
258 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
259
260 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
261 documentation.
262
263 2004-09-06 Michael Wardle <mbw@endbracket.net>
264
265 * doc/binutils.texi (objdump): Document that the -x switch includes
266 the effect of the -p switch.
267
268 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
269
270 * dlltool.c (make_one_lib_file): Test if internal_name was
271 specified by user before using it.
272
273 2004-09-02 Carlo Wood <carlo@alinoe.com>
274
275 PR binutils/351
276 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
277 exp->internal_name if it is present.
278
279 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
280
281 * MAINTAINERS: Add self as co-maintainer of FR-V.
282 * readelf.c (get_machine_flags): Print FR-V cpu types.
283
284 2004-08-28 Alan Modra <amodra@bigpond.net.au>
285
286 * nm.c (show_synthetic): New var.
287 (long_options): Add "synthetic".
288 (usage): Here too.
289 (display_rel_file): Handle show_synthetic.
290
291 2004-08-28 Alan Modra <amodra@bigpond.net.au>
292
293 * objdump.c (dump_bfd): Pass both symbol tables to
294 bfd_get_synthetic_symtab.
295
296 2004-08-17 Jakub Jelinek <jakub@redhat.com>
297
298 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
299 of dynsyms to bfd_get_synthetic_symtab.
300
301 2004-08-16 Alan Modra <amodra@bigpond.net.au>
302
303 * readelf.c (debug_apply_rela_addends): New function, extracted from..
304 (display_debug_info): ..here.
305 (display_debug_frames): Call debug_apply_rela_addends. Don't do
306 DW_EH_PE_pcrel adjustment for ET_REL.
307
308 2004-08-06 Andreas Schwab <schwab@suse.de>
309
310 * readelf.c (dump_relocations): Fix typo when calculating
311 sec_index.
312
313 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
314
315 * dllwrap.c (deduce_name): Fix typos introduced when program_name
316 was renamed to prog_name.
317
318 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
319
320 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
321 EF_SH2A_NOFPU.
322
323 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
324
325 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
326 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
327 EF_SH4A_NOFPU.
328 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
329 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
330
331 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
332
333 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
334 to access comdat.
335 * objdump.c (dump_section_header): Likewise.
336
337 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
338
339 * nlmconv.c (main): Pass map_file argument to link_inputs.
340 (link_inputs): Use map_file argument if it is defined.
341
342 2004-07-13 Nick Clifton <nickc@redhat.com>
343
344 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
345 conflicts with exported global defined in bucomm.h.
346 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
347 shadowing the global defined in bucomm.h.
348
349 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
350
351 * dlltool.c (ext_prefix_alias): New global variable.
352 (make_one_lib_file): Add aliases with prefixes for external
353 and import definitions.
354 (usage): Document -p option.
355 (long_options): Add --ext-prefix-alias option.
356 (main): Handle -p.
357 * doc/binutils.texi: Document new switch.
358 * NEWS: Mention new switch.
359
360 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
361
362 * binutils/dlltool.c (asm_prefix): Add parameter: name.
363 No underscore for symbols beginning with ?.
364 (ASM_PREFIX): Add parameter: NAME.
365 (gen_exp_file): Use new parameter.
366 (make_label): Likewise.
367 (make_imp_label): Likewise.
368 (make_one_lib_file): Likewise.
369
370 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
371
372 * MAINTAINERS: Added myself to the list.
373 * readelf.c: Include "elf/crx.h".
374 (guess_is_rela): Handle EM_CRX.
375 (get_machine_name): Likewise.
376 (dump_relocations): Likewise.
377
378 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
379
380 * doc/binutils.texi (nm): Clarify weak symbol description.
381
382 2004-06-24 Ben Elliston <bje@au.ibm.com>
383
384 * readelf.c (get_segment_type): Display "GNU_STACK", not just
385 "STACK", when a PT_GNU_STACK segment is encountered.
386
387 2004-06-24 Alan Modra <amodra@bigpond.net.au>
388
389 * objcopy.c (copy_section): Don't set _cooked_size.
390
391 2004-06-22 Alan Modra <amodra@bigpond.net.au>
392
393 * readelf.c (Elf32_Word): Delete.
394 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
395 (get_64bit_dynamic_section): Likewise.
396
397 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
398 (get_64bit_dynamic_section): Likewise.
399
400 * readelf.c (dynamic_nent): New variable.
401 (get_32bit_dynamic_section): Set it.
402 (get_64bit_dynamic_section): Here too.
403 (process_dynamic_section): Use it instead of dynamic_size.
404 (process_syminfo): Likewise.
405
406 * readelf.c (get_32bit_dynamic_section): Correct number of entries
407 translated from external to internal form.
408 (get_64bit_dynamic_section): Likewise.
409
410 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
411
412 * readelf.c (process_program_headers): When locating the dynamic
413 section use the section table if it is present.
414 (dynamic_segment): Renamed to dynamic_section.
415 Replace references to dynamic segment with references to dynamic
416 section, except where appropriate.
417 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
418 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
419 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
420 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
421 Remove tag counting code as it is no longer needed.
422 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
423 Remove tag counting code as it is no longer needed.
424 (process_dynamic_segment): Rename to process_dynamic_section.
425
426 2004-06-15 Alan Modra <amodra@bigpond.net.au>
427
428 * objcopy.c (copy_section): Use bfd_get_section_size instead of
429 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
430 (compare_section_lma): Likewise.
431 * addr2line.c (find_address_in_section): Likewise.
432 * coffgrok.c (do_sections_p1): Likewise.
433 * dlltool.c (scan_drectve_symbols): Likewise.
434 * nlmconv.c (main): Likewise.
435 (copy_sections): Likewise.
436 (powerpc_mangle_relocs): Likewise.
437 * objdump.c (disassemble_section): Likewise.
438 * prdbg.c (find_address_in_section): Likewise.
439 * size.c (berkeley_sum): Likewise.
440 * srconv.c (wr_ob): Likewise.
441 * strings.c (strings_a_section): Likewise.
442
443 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
444
445 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
446
447 2004-05-17 David Heine <dlheine@tensilica.com>
448
449 * objcopy.c (setup_bfd_headers): New function.
450 (copy_object): Call setup_bfd_headers.
451
452 2004-05-13 Paul Brook <paul@codesourcery.com>
453
454 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
455 entries.
456
457 2004-05-13 Nick Clifton <nickc@redhat.com>
458
459 * po/fr.po: Updated French translation.
460
461 2004-05-11 Jakub Jelinek <jakub@redhat.com>
462
463 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
464
465 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
466
467 * readelf.c (section_groups): New.
468 (group_count): New.
469 (section_headers_groups): New.
470 (process_section_groups): Populate group_count, section_groups
471 and section_headers_groups.
472 (process_unwind): Support section group.
473 (process_object): Always call process_section_groups. Free
474 section_groups and section_headers_groups.
475
476 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
477
478 * readelf.c (process_section_headers): Use %3lu on sh_info.
479
480 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
481
482 * ranlib.sh: Quote $1 argument in case it contains spaces.
483
484 2004-04-27 John Paul Wallington <jpw@gnu.org>
485
486 * objcopy.c (copy_usage, strip_usage): Fix spelling.
487
488 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
489
490 * readelf.c (do_section_groups): New.
491 (options): Add --section-groups/-g.
492 (usage): Mention --section-groups/-g.
493 (parse_args): Support --section-groups/-g.
494 (get_group_flags): New.
495 (process_section_groups): New.
496 (process_object): Call process_section_groups.
497
498 2004-04-24 Alan Modra <amodra@bigpond.net.au>
499
500 * objdump.c (disassemble_section): Don't disassemble sections
501 without SEC_HAS_CONTENTS.
502
503 2004-04-22 Jakub Jelinek <jakub@redhat.com>
504
505 * objdump.c (synthsyms, synthcount): New variables.
506 (disassemble_data): Use dynsyms for stripped binaries or libraries.
507 Add synthetized symbols.
508 (dump_bfd): For disassemble, initialize dynsyms always and
509 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
510 before returning.
511
512 2004-04-14 Alan Modra <amodra@bigpond.net.au>
513
514 * strings.c (print_strings): Cast file_off to unsigned long in
515 printf arg list.
516
517 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
518
519 PR 86
520 * arsup.c (ar_save): Use smart_rename.
521
522 2004-04-01 Dean Luick <luick@cray.com>
523
524 * readelf.c (display_debug_pubnames): Align offset and data
525 columns.
526 (read_and_display_attr_value): Add missing break;
527 (debug_displays): Enable the display of the .debug_pubtypes
528 section.
529
530 2004-03-30 Stan Shebs <shebs@apple.com>
531
532 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
533 support files, no longer used.
534
535 2004-03-23 Paul Brook <paul@codesourcery.com>
536
537 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
538
539 2004-03-21 Richard Henderson <rth@redhat.com>
540
541 * readelf.c (display_debug_frames): Don't crash for mismatched
542 DW_CFA_restore_state.
543
544 2004-03-19 Alan Modra <amodra@bigpond.net.au>
545
546 * Makefile.am: Run "make dep-am".
547 * Makefile.in: Regenerate.
548 * aclocal.m4: Regenerate.
549 * config.in: Regenerate.
550 * configure: Regenerate.
551 * po/binutils.pot: Regenerate.
552
553 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
554
555 * objdump.c (struct SFILE): Replace current pointer with pos
556 offset, rename size to alloc.
557 (objdump_sprintf): Avoid unnecessary copies in the common case
558 (disassemble_bytes): Keep sfile live throughout the
559 function. Adjust usage appropriately.
560
561 2004-03-10 Ben Elliston <bje@gnu.org>
562
563 * MAINTAINERS: Update my mail address.
564
565 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
566
567 * deflex.l: Handle "PRIVATE" string.
568 * defparse.y (%token): Add PRIVATE.
569 (%type): Add opt_PRIVATE.
570 (expline): Pass opt_PRIVATE to def_exports.
571 (opt_PRIVATE): Handle PRIVATE token.
572 * dlltool.h (def_exports): Add 7th param for private flag to
573 declaration.
574 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
575 (struct export): Add 'private' field.
576 (def_exports): Set 'private' field of struct exports.
577 (scan_drectve_symbols): Adjust calls to def_exports.
578 (scan_filtered_symbols): Likewise.
579 (dump_def_info): Print 'private' field.
580 (gen_def_file): Likewise.
581 (gen_lib_file): Skip generation of lib object if private.
582 Delete tmp object files in same order as they were generated.
583 Don't delete non-existent private object files.
584
585 2004-02-27 Andreas Schwab <schwab@suse.de>
586
587 * ar.c (main): Support POSIX-compatible argument parsing.
588
589 2004-02-23 Daniel Lucq <daniel@lucq.org>
590
591 * readelf.c (process_mips_specific): Print conflictsno as an
592 unsigned long.
593
594 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
595
596 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
597
598 2004-02-19 Jakub Jelinek <jakub@redhat.com>
599
600 * objcopy.c (copy_section): Avoid warnings.
601
602 2004-02-14 Andrew Cagney <cagney@redhat.com>
603
604 * ar.c (remove_output): Use bfd_cache_close.
605 * arsup.c (ar_end): Ditto.
606
607 2004-01-21 Roland McGrath <roland@redhat.com>
608
609 * readelf.c (get_note_type): Match NT_AUXV.
610
611 2004-01-20 Nick Clifton <nickc@redhat.com>
612
613 * version.c (print_version): Update copyright year to 2004.
614
615 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
616
617 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
618 throughout.
619 * aclocal.m4: Regenerate.
620 * configure: Regenerate.
621
622 2004-01-12 Jakub Jelinek <jakub@redhat.com>
623
624 * objcopy.c: Include elf-bfd.h.
625 (is_strip_section): Don't strip debugging sections if
626 STRIP_NONDEBUG.
627 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
628 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
629
630 * objcopy.c (copy_section): Free relpp if relcount == 0.
631
632 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
633
634 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
635 (stab_demangle_argtypes): Likewise.
636 (stab_demangle_v3_argtypes): New static function.
637 (stab_demangle_v3_arg): New static function.
638
639 2004-01-12 Nick Clifton <nickc@redhat.com>
640
641 * objcopy.c (copy_object): Make the function boolean, returning
642 FALSE upon failure.
643 (copy_archive): Handle the return value from copy_object.
644 (copy_file): Likewise.
645
646 2004-01-07 Nick Clifton <nickc@redhat.com>
647
648 * readelf.c (find_section): New function. Locates a named
649 section.
650 (get_debug_line_pointer_sizes): New function: Initialises the
651 debug_line_pointer_sizes array.
652 (display_debug_lines): Call get_debug_line_pointer_sizes.
653 (display_debug_loc): Likewise.
654 (load_debug_loc): Use find_section.
655 (load_debug_str): Likewise.
656 (display_debug_info): Likewise.
657 (prescan_debug_info): Delete.
658 (debug_displays): Remove prescan field.
659 (process_section_contents): Do not perform prescans.
660
661 2004-01-03 Alan Modra <amodra@bigpond.net.au>
662
663 * objcopy.c (filter_bytes): Delete. Move code to..
664 (copy_section): ..here. Simplify size adjustment. Divide
665 section lma by interleave.
666
667 2004-01-02 Nick Clifton <nickc@redhat.com>
668
669 * po/ru.po: New file: Russian translation.
670 * configure.in (ALL_LINGUAS): Add ru
671 * configure: Regenerate.
672
673 For older changes see ChangeLog-0203
674 \f
675 Local Variables:
676 mode: change-log
677 left-margin: 8
678 fill-column: 74
679 version-control: never
680 End:
This page took 0.051756 seconds and 5 git commands to generate.