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