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