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