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