405712f5cb259d178627bfcc231a1a9bf981aa49
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2005-03-11 Nick Clifton <nickc@redhat.com>
2
3 * po/fr.po: Updated French translation.
4
5 2005-03-10 Nick Clifton <nickc@redhat.com>
6
7 * configure.in (ALL_LINGUAS): Add Romanian lingua "ro".
8 * configure: Regenerate.
9 * po/ro.po: New file.
10
11 * po/ru.po: Updated file.
12
13 2005-03-05 Alan Modra <amodra@bigpond.net.au>
14
15 * po/binutils.pot: Regenerate.
16
17 2005-03-02 Jan Beulich <jbeulich@novell.com>
18
19 * ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
20 * objcopy.c (copy_file): Likewise.
21 (strip_main): Likewise.
22
23 2005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net>
24 Nick Clifton <nickc@redhat.com>
25
26 * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
27 (struct objdump_disasm_info): Add 'reloc' field.
28 (disassemble_bytes): Fix check for when an insn has a reloc
29 associated with it. Improve comment explaining why the use of
30 octets is wrong. Set the 'reloc' field in objdump_disasm_info
31 structure.
32 (objdump_print_addr): Use new 'reloc' field to lookup the correct
33 address for the symbol associated with the current instruction's
34 relocation.
35 (disassemble_info): Initialise 'reloc' field.
36
37 2005-02-28 Jakub Jelinek <jakub@redhat.com>
38
39 * readelf.c (get_file_type, get_machine_name, get_osabi_name,
40 get_segment_type, get_section_type_name, get_elf_class,
41 get_data_encoding, get_group_flags, dynamic_section_mips_val,
42 get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
43 get_AT_name, process_mips_specific, process_gnu_liblist,
44 get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
45 sprintf where needed.
46 (get_dynamic_type): Likewise. Increase buff to 64 bytes.
47 (get_elf_section_flags): Increase buff to 33 bytes. Avoid
48 using strcat.
49 (get_dynamic_flags): Renamed to...
50 (print_dynamic_flags): ... this. Print the flags to stdout instead
51 of returning them as string.
52 (process_dynamic_section): Adjust caller.
53
54 2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
55
56 * readelf.c (display_debug_ranges): Print out offset for end of
57 list.
58
59 2005-02-23 Alan Modra <amodra@bigpond.net.au>
60
61 * dlltool.c: Warning fixes.
62 * objdump.c: Likewise.
63
64 2005-02-22 Alan Modra <amodra@bigpond.net.au>
65
66 * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
67 (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
68 dependencies. Run "make dep-am".
69 * nlmconv.c: Warning fixes.
70 * readelf.c: Likewise.
71 * srconv.c: Likewise.
72 * sysdump.c: Likewise.
73 * sysinfo.y: Likewise.
74 * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
75 of strcpy.
76 * Makefile.in: Regenerate.
77
78 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
79
80 * objcopy.c (parse_flags): Replace SEC_SHARED with
81 SEC_COFF_SHARED.
82
83 * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
84 SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
85 SEC_COFF_SHARED for COFF only.
86
87 2005-02-21 Alan Modra <amodra@bigpond.net.au>
88
89 * Makefile.am: Run "make dep-am"
90 * Makefile.in: Regenerate.
91 * doc/Makefile.in: Regenerate.
92
93 2005-02-21 Alan Modra <amodra@bigpond.net.au>
94
95 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
96 (byte_get_little_endian): Don't handle size of -8.
97 (byte_get_signed, byte_get_big_endian): Likewise.
98 (print_dec_vma, print_hex_vma): New functions.
99 (print_vma): Use them. Return chars output.
100 (get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
101 (process_symbol_table): Handle alpha and s390 .hash.
102
103 2005-02-18 H.J. Lu <hongjiu.lu@intel.com>
104
105 * readelf.c (display_debug_loc): Print out offset for end of
106 list.
107
108 2005-02-18 Joseph S. Myers <joseph@codesourcery.com>
109
110 * Makefile.am (TOOL_PROGS): Add objdump.
111 * Makefile.in: Regenerate.
112
113 2005-02-17 Alan Modra <amodra@bigpond.net.au>
114
115 * deflex.l (YY_NO_UNPUT): Define.
116 * rclex.l (YY_NO_UNPUT): Define.
117 * rcparse.y (null_unichar): New static var.
118 (res_null_text): Use it rather than attempting to init from wchar_t.
119 * windres.c: Include assert.h and time.h before getopt.h.
120 Include config.h and unistd.h too.
121
122 2005-02-15 Nick Clifton <nickc@redhat.com>
123
124 * nlmconv.c: Provide a full prototype for the localtime() function
125 in order to avoid a compile time warning.
126
127 2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
128
129 * readelf.c (group_count): Don't initialize it.
130 (process_section_groups): Reurn 1 if we won't do unwind nor
131 section groups. Set group_count to 0 before counting group
132 sections and return 1 if there are no group sections. Reread
133 SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
134 section 0.
135 (process_object): Only set do_unwind to 0 if
136 process_section_groups return 0.
137
138 2005-02-10 Ian Lance Taylor <ian@airs.com>
139
140 * MAINTAINERS: Update my e-mail address.
141
142 2005-02-10 Mark Mitchell <mark@codesourcery.com>
143
144 * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
145 maintainers.
146
147 2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
148
149 * MAINTAINERS: Add self as maintainer of MAXQ.
150
151 2005-01-31 Richard Sandiford <rsandifo@redhat.com>
152
153 * readelf.c (eh_addr_size): New variable.
154 (find_section): Move earlier in file. Return empty sections too.
155 (process_program_headers): Use find_section to find .dynamic.
156 (process_section_headers): Initialize eh_addr_size.
157 (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
158 (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
159 (display_debug_frames): Use it instead of local addr_size variable.
160 (size_of_encoded_value): Get pointer size from eh_addr_size rather
161 than is_32bit_elf.
162
163 2005-01-31 Andrew Cagney <cagney@gnu.org>
164
165 * configure: Regenerate to track ../gettext.m4.
166
167 2005-01-31 Nick Clifton <nickc@redhat.com>
168
169 * version.c (print_version): Bump the copyright date to 2005.
170
171 2005-01-25 Alan Modra <amodra@bigpond.net.au>
172
173 * nm.c (display_rel_file): Read dynamic syms before calling
174 bfd_get_synthetic_symtab.
175
176 2005-01-21 Ben Elliston <bje@au.ibm.com>
177
178 * dlltool.c (dump_iat): Remove unused function.
179 (gen_exp_file): Remove #if 0'd code.
180 (make_one_lib_file): Likewise.
181 * srconv.c: Remove #if 0'd code throughout.
182 * size.c (lprint_number): Remove.
183 (print_berkeley_format): Remove #if 0'd code.
184 * ar.c (do_quick_append): Remove declaration and definiton.
185 (main): Remove #if 0'd code.
186 * filemode.c (filemodestring): Remove #if 0'd function.
187 * sysdump.c (unit_info_list): Remove function.
188 (object_body_list): Likewise.
189 (program_structure): Likewise.
190 (debug_list): Likewise.
191 (module): Remove #if 0'd code.
192
193 2005-01-20 Mark Mitchell <mark@codesourcery.com>
194
195 * BRANCHES: Add binutils-2_15-branch.
196
197 * MAINTAINERS: Document branch policy.
198 * BRANCHES: New file.
199
200 2005-01-19 Fred Fish <fnf@specifixinc.com>
201
202 * NEWS: Make note of the new MIPS disassembly option "no-aliases".
203 * doc/binutils.texi (objdump): Document the "no-aliases"
204 disassembly option.
205
206 2005-01-17 Eugene Kotlyarov <ekot@narod.ru>
207
208 PR binutils/647
209 * rcparse.y (RCDATA): Allow a filename to be supplied as the
210 parameter. Parse it with define_rcdata_file().
211 * resrc.c (define_rcdata_file): New function.
212 * windres.h: Provide a prototype for the new function.
213
214 * resrc.c (define_user_file): Fix typo by replacing "font file"
215 with "file".
216
217 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
218
219 * MAINTAINERS: Update my email address.
220
221 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
222
223 * dlltool.c (set_dll_name_from_def): New function. Strip name
224 to basename, with warning.
225 (def_name): Use it.
226 (def_library): Likwise.
227 (main): Strip arg of --dllname to basename, with warning.
228 Only use basename of exp_name when inferring dll_name.
229
230 2005-01-11 Nick Clifton <nickc@redhat.com>
231
232 PR binutils/637
233 * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the
234 footnote in order to prevent the sed script in the Makefile from
235 converting it into c++filt.
236
237 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
238
239 BZ 635
240 readelf.c (saved_base_address): Removed.
241 (decode_64bit_range): Likewise.
242 (decode_range): Likewise.
243 (display_64bit_debug_ranges): Likewise.
244 (debug_info): Add range_lists, num_range_lists and
245 max_range_lists.
246 (read_and_display_attr_value): Handle do_debug_ranges.
247 (process_debug_info): Likewise.
248 (display_debug_ranges): Rewrite.
249 (process_object): Free range_lists.
250
251 2005-01-10 Andreas Schwab <schwab@suse.de>
252
253 * configure.in: Don't define SKIP_ZEROES.
254 * configure: Regenerate.
255 * objdump.c (disassemble_data): Set skip_zeroes and
256 skip_zeroes_at_end in disasm_info to defaults.
257 (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
258 (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
259 always define.
260 (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
261 objdump_disasm_info.
262
263 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
264
265 * readelf.c (display_debug_loc): Display base address
266 specifiers. Always output <End of list>.
267
268 2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
269
270 * readelf.c (have_frame_base): New.
271 (need_base_address): Likewise.
272 (saved_base_address): Likewise.
273 (decode_location_expression): Return 1 if DW_AT_frame_base is
274 needed.
275 (debug_info): Add base_address and a have_frame_base pointer.
276 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
277 saved_base_address. Record base address. Set have_frame_base.
278 Record if a location list has DW_AT_frame_base. Display if a
279 location expression has no DW_AT_frame_base but needs one. Set
280 saved_base_address only if needed.
281 (process_debug_info): Clear have_frame_base, saved_base_address
282 and set need_base_address.
283 (display_debug_loc): Display if a location expression has no
284 DW_AT_frame_base but needs one. Display if start >= end. Don't
285 adjust for section address. Properly handle base address.
286 (process_object): Free the have_frame_base pointer in
287 debug_info.
288
289 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
290
291 * readelf.c (display_debug_loc): Display offsets for hole and
292 overlap.
293 (display_debug_str): Add a newline at the end.
294
295 2005-01-04 Armin Diehl <diehl@nordrhein.de>
296
297 PR binutils/630
298 * nlmconv.c (main): Only store the basename of the output filename
299 in the module table.
300
301 2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
302
303 BZ 615
304 * readelf.c (process_debug_info): New.
305 (debug_info): Add num_loc_offsets, loc_offsets and
306 last_loc_offset_p.
307 (get_debug_info): Use process_debug_info.
308 (display_debug_loc): Properly handle location list. Warn if bad
309 location lists are encoutnered.
310 (read_and_process_attr_value): New.
311 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
312 (display_debug_info): Use process_debug_info.
313 (process_object): Also free loc_offsets in debug_information.
314
315 2004-12-31 Alan Modra <amodra@bigpond.net.au>
316
317 * objdump.c (remove_useless_symbols): Discard section symbols.
318
319 2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
320
321 * readelf.c (read_leb128): Support 64bit host.
322
323 2004-12-23 Nick Clifton <nickc@redhat.com>
324
325 PR binutils/616
326 * readelf.c (debug_info): Add 'cu_offset' field.
327 (get+pointer_size_of_comp_unit): Rename to
328 'get_pointer_size_and_offset_of_comp_unit'. Add code to return
329 the offset of the comp_unit if requested.
330 (get_debug_info): Record comp_unit offsets as well.
331 (display_debug_lines): Call get_pointer_size_of_comp_unit.
332 (decode_location_expression): Add an extra parameter - the offset
333 of the current comp-unit. Use this when decoding the DW_OP_call2
334 and DW_OP_call4 operators.
335 (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the
336 comp_unit offset on the decode_location_expression.
337 (read_and_display_attr_value): Pass the comp_unit offset on the
338 decode_location_expression.
339 (display_debug_frames): Pass 0 as the comp_unit offset to
340 decode_location_expression.
341
342 2004-12-22 Nick Clifton <nickc@redhat.com>
343
344 * readelf.c (last_pointer_size, warned_about_missing_comp_units):
345 New variables associated with obtaining the pointer size for a
346 comp_unit.
347 (get_pointer_size_of_comp_unit): Add an extra parameter - the name
348 of the section requesting the pointer size. Use this name in
349 error messages. If there are not enough comp_units available
350 produce a warning message, but return the last known pointer size
351 so that section dumping can continue.
352 (get_debug_info): Reset the new variables.
353 (display_debug_lines): Add extra parameter to invocation of
354 get_pointer_size_of_comp_unit and remove error message when it
355 returns 0.
356 (display_debug_loc): Likewise.
357
358 2004-12-15 Jan Beulich <jbeulich@novell.com>
359
360 * doc/binutils.texi: Document --strip-unneeded-symbol and
361 --strip-unneeded-symbols.
362 * objcopy.c (strip_unneeded_list): New.
363 (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
364 and OPTION_STRIP_UNNEEDED_SYMBOLS.
365 (copy_options): Add --strip-unneeded-symbol and
366 --strip-unneeded-symbols.
367 (copy_usage): Likewise.
368 (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
369 and the symbol is not needed.
370 (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
371 OPTION_STRIP_UNNEEDED_SYMBOLS.
372
373 2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
374
375 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
376
377 2004-12-08 Ben Elliston <bje@au.ibm.com>
378
379 * arlex.l: Fix formatting.
380
381 2004-12-08 Ben Elliston <bje@au.ibm.com>
382
383 * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
384 config.texi whose value is the current month and year.
385 * doc/Makefile.in: Rebuild.
386 * doc/binutils.texi: Set the document subtitle to be the value of
387 the Texinfo UPDATED variable (obtained from config.texi).
388
389 2004-12-07 Ben Elliston <bje@au.ibm.com>
390
391 PR binutils/249
392 * doc/binutils.texi (def file format): New node.
393 (dlltool): Use the tool name as the @chapter name, like all the
394 other binutils. Use @file{.def} throughout for consistency.
395
396 2004-12-06 Ben Elliston <bje@au.ibm.com>
397
398 * dlltool.c: Comment fix.
399
400 2004-12-06 Ben Elliston <bje@au.ibm.com>
401
402 * doc/binutils.texi: Update copyright years.
403
404 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
405
406 * MAINTAINERS: Remove mention of config.if.
407
408 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
409
410 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
411 * Makefile.in: Regenerate.
412
413 2004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
414
415 PR binutils/536
416 * stabs.c (stab_demangle_template): Call stab_demangle_count
417 rather than stab_demangle_get_count to get the length of a pointer
418 target.
419
420 2004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
421
422 * defparse.y: Remove unnecessary commas from token list.
423
424 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
425
426 * doc/binutils.texi (nm): Update description of weak symbols.
427
428 2004-11-03 Nick Clifton <nickc@redhat.com>
429
430 * readelf.c (do_debug_ranges): New variable.
431 (usage): Document new switch: -wR or --debug-dump=Ranges.
432 (parse_args): Handle new switch. Replace switch statement for the
433 long options with a more compact table structure.
434 (process_section_headers): Allow the dumping of .debug_ranges
435 sections if so requested.
436 (debug_displays): Likewise.
437 (load_debug_range): New function: Grabs the contents of a
438 .debug_ranges section.
439 (free_debug_range): New function: Releases the grabbed
440 .debug_ranges section.
441 (decode_64bit_range): New function: Displays a 64-bit range in a
442 .debug_ranges section.
443 (decode_range): New function: Displays a 32-bit range in a
444 .debug_ranges section.
445 (read_and_display_attr_value): Record the value of DW_AT_low_pc
446 attributes. Use decode_ranges() to display a DW_AT_ranges
447 attribute.
448 (display_debug_info): Use load_debug_range() and
449 free_debug_range().
450 (display_64bit_debug_ranges): New function. Displays the contents
451 of a 64-bit format .debug_ranges section.
452 (display_debug_ranges): New function: Displays the contents of a
453 32-bit .debug_ranges section.
454
455 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
456 global scope.
457 (process_object): Initialise the dump_sects array from the
458 cmdline_dump_sects array before processing each object file.
459
460 (streq, strneq): New macros. Use them to replace occurrences of
461 strcmp() and strncmp().
462
463 (debug_information): New structure array to replace
464 debug_line_pointer_sizes array.
465 (num_debug_info_entries): New variable to replace
466 num_debug_line_pointers.
467 (get_pointer_size_of_comp_unit): New function: Returns the pointer
468 size of a given compilation unit.
469 (get_debug_info): New function to replace
470 get_debug_line_pointer_sizes.
471 (display_debug_lines): Use the new functions.
472 (display_debug_loc): Likewise.
473
474 (disassemble_section): Change return type to int.
475 (display_debug_lines): Move local variables to their
476 innermost scope.
477 (display_debug_section): Likewise. Also record the return value
478 of functions called and pass this back to the parent. Also only
479 warn about undumped sections when the user explicitly requested
480 their dumping.
481
482 (debug_apply_rela_addends): Allow relocations against STT_OBJECT
483 types as well.
484
485 * NEWS: Mention the support for decoding .debug_ranges sections.
486 * doc/binutils.texi: Document the new command line switch to
487 readelf.
488
489 2004-11-03 Randolph Chung <tausq@debian.org>
490
491 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
492 unw_aux_info and unw_table_entry.
493 (find_symbol_for_address): Pass symtab and strtab info explicitly.
494 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
495 prefix.
496 (slurp_ia64_unwind_table): Likewise.
497 (ia64_process_unwind): Rename from old process_unwind.
498 (hppa_unw_aux_info): New.
499 (dump_hppa_unwind): New.
500 (slurp_hppa_unwind_table): New.
501 (hppa_process_unwind): New.
502 (process_unwind): Factor out common unwinding checks; dispatch to
503 unwind handler based on machine type.
504
505 2004-11-02 Nick Clifton <nickc@redhat.com>
506
507 * readelf.c (display_debug_lines): Fix typo in error message.
508
509 2004-10-26 Mark Mitchell <mark@codesourcery.com>
510
511 * readelf.c (get_note_type): Handle notes not in core files.
512 (process_note_sections): New function.
513 (process_corefile_contents): Rename to ...
514 (process_notes): ... this.
515 (process_object): Call process_notes, not
516 process_corefile_contents.
517 * doc/binutils.texi: Update readelf -n documentation.
518
519 2004-10-26 Jakub Jelinek <jakub@redhat.com>
520
521 * ar.c (extract_file): Set atime to mtime for ar xo.
522
523 2004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
524
525 * stabs.c (stab_demangle_v3_arglist): New static function, broken
526 out of stab_demangle_v3_argtypes.
527 (stab_demangle_v3_argtypes): Call it.
528 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
529 If we find an unrecognized component, print out its number.
530
531 2004-10-25 David Mosberger <davidm@hpl.hp.com>
532
533 * readelf.c (slurp_ia64_unwind_table): Support relocations against
534 non-section symbols by adding in the symbol value.
535
536 2004-10-25 Nick Clifton <nickc@redhat.com>
537
538 PR 465
539 * readelf.c (dynamic_strings_length): New global variable.
540 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
541 strings in the dynamic string table.
542 (process_section_headers): Initialise dynamic_strings_length.
543 (process_dynamic_section): Likewise.
544 (process_object): Reset dynamic_string_length when the buffer is freed.
545 (dynamic_sections_mips_val): Use the new macros.
546 (process_dynamic_section): Likewise.
547 (process_version_sections): Likewise.
548 (process_symbol_table): Likewise.
549 (process_syminfo): Likewise.
550 (process_mips_specific): Likewise.
551 (dump_relocations): Add a new parameter 'strtablen' and use this
552 to verify that string offset in a given reloc is valid. Print a
553 suitable error message otherwise.
554 (process_relocs): Pass the new argument to dump_relocations.
555
556 2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
557
558 * dlltool.c: Include <assert.h>.
559 (PREFIX_ALIAS_BASE): Define.
560 (struct export): Add member import_name;
561 (def_exports): Set import_name.
562 (make_one_lib_file): Remove prefix alias code, use import_name
563 in .idata$6.
564 (gen_lib_file): Create and delete aliases.
565
566 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
567
568 * readelf.c (process_section_groups): Free symtab after use.
569
570 2004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
571 Nick Clifton <nickc@redhat.com>
572
573 * strings.c (usage): Place radix values for -t option into the
574 correct order.
575
576 * objcopy.c (add_redefine_syms_file): Change error messages to use
577 <filename>:<linenumber>: format for easier parsing by automatic
578 tools.
579
580 * srconv.c (show_usage): Fix spelling typo.
581
582 * windres.c (format_from_filename): Suggest the use of -J instead
583 of -I if the file type cannot be determined.
584
585 2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
586
587 * strings.c: Include <sys/stat.h>.
588
589 2004-10-18 Alan Modra <amodra@bigpond.net.au>
590
591 * budemang.c (demangle): Fix thinko.
592
593 * budemang.c (demangle): Handle "@plt" suffix.
594
595 2004-10-14 Nick Clifton <nickc@redhat.com>
596
597 * nm.c (usage): Fix description of --special-syms switch.
598
599 2004-10-13 Jakub Jelinek <jakub@redhat.com>
600
601 * strings.c (statbuf): New typedef.
602 (file_stat): Define.
603 (strings_object_file): Avoid using get_file_size, instead do the
604 checks here, using file_stat.
605 * configure.in (HAVE_STAT64): New test.
606 * configure: Rebuilt.
607 * config.in: Rebuilt.
608
609 2004-10-12 Paul Brook <paul@codesourcery.com>
610
611 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
612
613 2004-10-11 Alan Modra <amodra@bigpond.net.au>
614
615 * objdump.c (dump_symbols): Fix thinko last change. Improve error
616 messages.
617
618 2004-10-08 Nick Clifton <nickc@redhat.com>
619
620 * nm.c: Add a new switch --special-syms which, if enabled, will
621 include the ARM Mapping symbols in nm's output.
622 (usage): Mention the switch.
623 (filter_symbols): Handle the switch.
624 * objdump.c: Add a similar switch.
625 (usage): Mention the switch.
626 (dump_symbols): Handle the switch.
627 * doc/binutils.texi: Document the new switches.
628 * NEWS: Mention the new switches.
629
630 2004-10-08 Daniel Jacobowitz <dan@debian.org>
631
632 * readelf.c (get_x86_64_section_type_name): New function.
633 (get_section_type_name): Use it.
634
635 2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
636
637 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
638 patches.
639 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
640
641 2004-10-07 Alexandre Oliva <aoliva@redhat.com>
642
643 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
644 types.
645
646 2004-10-01 Paul Brook <paul@codesourcery.com>
647
648 * readelf.c (get_arm_section_type_name): New function.
649 (get_section_type_name): Use it.
650
651 2004-09-28 Nick Clifton <nickc@redhat.com>
652
653 * nm.c: Reorder functions to eliminate most of the static function
654 prototypes.
655
656 2004-09-22 Alan Modra <amodra@bigpond.net.au>
657
658 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
659 segments.
660
661 2004-09-17 Alan Modra <amodra@bigpond.net.au>
662
663 * Makefile.am: Run "make dep-am".
664 * Makefile.in: Regenerate.
665 * config.in: Regenerate.
666 * configure: Regenerate.
667 * doc/Makefile.in: Regenerate.
668 * po/binutils.pot: Regenerate.
669
670 2004-09-12 Alan Modra <amodra@bigpond.net.au>
671
672 * readelf.c (decode_location_expression): Sign extend value for
673 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
674
675 2004-09-09 Nick Clifton <nickc@redhat.com>
676
677 PR 363
678 * ar.c (replace_members): Do not use get_file_size as
679 ar_emul_append correctly handles missing files.
680
681 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
682
683 * configure: Regenerated with autconfig 2.13.
684
685 2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
686
687 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
688 documentation.
689
690 2004-09-06 Michael Wardle <mbw@endbracket.net>
691
692 * doc/binutils.texi (objdump): Document that the -x switch includes
693 the effect of the -p switch.
694
695 2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
696
697 * dlltool.c (make_one_lib_file): Test if internal_name was
698 specified by user before using it.
699
700 2004-09-02 Carlo Wood <carlo@alinoe.com>
701
702 PR binutils/351
703 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
704 exp->internal_name if it is present.
705
706 2004-09-02 Alexandre Oliva <aoliva@redhat.com>
707
708 * MAINTAINERS: Add self as co-maintainer of FR-V.
709 * readelf.c (get_machine_flags): Print FR-V cpu types.
710
711 2004-08-28 Alan Modra <amodra@bigpond.net.au>
712
713 * nm.c (show_synthetic): New var.
714 (long_options): Add "synthetic".
715 (usage): Here too.
716 (display_rel_file): Handle show_synthetic.
717
718 2004-08-28 Alan Modra <amodra@bigpond.net.au>
719
720 * objdump.c (dump_bfd): Pass both symbol tables to
721 bfd_get_synthetic_symtab.
722
723 2004-08-17 Jakub Jelinek <jakub@redhat.com>
724
725 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
726 of dynsyms to bfd_get_synthetic_symtab.
727
728 2004-08-16 Alan Modra <amodra@bigpond.net.au>
729
730 * readelf.c (debug_apply_rela_addends): New function, extracted from..
731 (display_debug_info): ..here.
732 (display_debug_frames): Call debug_apply_rela_addends. Don't do
733 DW_EH_PE_pcrel adjustment for ET_REL.
734
735 2004-08-06 Andreas Schwab <schwab@suse.de>
736
737 * readelf.c (dump_relocations): Fix typo when calculating
738 sec_index.
739
740 2004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
741
742 * dllwrap.c (deduce_name): Fix typos introduced when program_name
743 was renamed to prog_name.
744
745 2004-07-29 Alexandre Oliva <aoliva@redhat.com>
746
747 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
748 EF_SH2A_NOFPU.
749
750 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
751
752 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
753 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
754 EF_SH4A_NOFPU.
755 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
756 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
757
758 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
759
760 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
761 to access comdat.
762 * objdump.c (dump_section_header): Likewise.
763
764 2004-07-15 Aravinda PR <aravindapr@rediffmail.com>
765
766 * nlmconv.c (main): Pass map_file argument to link_inputs.
767 (link_inputs): Use map_file argument if it is defined.
768
769 2004-07-13 Nick Clifton <nickc@redhat.com>
770
771 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
772 conflicts with exported global defined in bucomm.h.
773 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
774 shadowing the global defined in bucomm.h.
775
776 2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
777
778 * dlltool.c (ext_prefix_alias): New global variable.
779 (make_one_lib_file): Add aliases with prefixes for external
780 and import definitions.
781 (usage): Document -p option.
782 (long_options): Add --ext-prefix-alias option.
783 (main): Handle -p.
784 * doc/binutils.texi: Document new switch.
785 * NEWS: Mention new switch.
786
787 2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
788
789 * binutils/dlltool.c (asm_prefix): Add parameter: name.
790 No underscore for symbols beginning with ?.
791 (ASM_PREFIX): Add parameter: NAME.
792 (gen_exp_file): Use new parameter.
793 (make_label): Likewise.
794 (make_imp_label): Likewise.
795 (make_one_lib_file): Likewise.
796
797 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
798
799 * MAINTAINERS: Added myself to the list.
800 * readelf.c: Include "elf/crx.h".
801 (guess_is_rela): Handle EM_CRX.
802 (get_machine_name): Likewise.
803 (dump_relocations): Likewise.
804
805 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
806
807 * doc/binutils.texi (nm): Clarify weak symbol description.
808
809 2004-06-24 Ben Elliston <bje@au.ibm.com>
810
811 * readelf.c (get_segment_type): Display "GNU_STACK", not just
812 "STACK", when a PT_GNU_STACK segment is encountered.
813
814 2004-06-24 Alan Modra <amodra@bigpond.net.au>
815
816 * objcopy.c (copy_section): Don't set _cooked_size.
817
818 2004-06-22 Alan Modra <amodra@bigpond.net.au>
819
820 * readelf.c (Elf32_Word): Delete.
821 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
822 (get_64bit_dynamic_section): Likewise.
823
824 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
825 (get_64bit_dynamic_section): Likewise.
826
827 * readelf.c (dynamic_nent): New variable.
828 (get_32bit_dynamic_section): Set it.
829 (get_64bit_dynamic_section): Here too.
830 (process_dynamic_section): Use it instead of dynamic_size.
831 (process_syminfo): Likewise.
832
833 * readelf.c (get_32bit_dynamic_section): Correct number of entries
834 translated from external to internal form.
835 (get_64bit_dynamic_section): Likewise.
836
837 2004-06-18 Jie Zhang <zhangjie@magima.com.cn>
838
839 * readelf.c (process_program_headers): When locating the dynamic
840 section use the section table if it is present.
841 (dynamic_segment): Renamed to dynamic_section.
842 Replace references to dynamic segment with references to dynamic
843 section, except where appropriate.
844 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
845 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
846 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
847 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
848 Remove tag counting code as it is no longer needed.
849 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
850 Remove tag counting code as it is no longer needed.
851 (process_dynamic_segment): Rename to process_dynamic_section.
852
853 2004-06-15 Alan Modra <amodra@bigpond.net.au>
854
855 * objcopy.c (copy_section): Use bfd_get_section_size instead of
856 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
857 (compare_section_lma): Likewise.
858 * addr2line.c (find_address_in_section): Likewise.
859 * coffgrok.c (do_sections_p1): Likewise.
860 * dlltool.c (scan_drectve_symbols): Likewise.
861 * nlmconv.c (main): Likewise.
862 (copy_sections): Likewise.
863 (powerpc_mangle_relocs): Likewise.
864 * objdump.c (disassemble_section): Likewise.
865 * prdbg.c (find_address_in_section): Likewise.
866 * size.c (berkeley_sum): Likewise.
867 * srconv.c (wr_ob): Likewise.
868 * strings.c (strings_a_section): Likewise.
869
870 2004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
871
872 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
873
874 2004-05-17 David Heine <dlheine@tensilica.com>
875
876 * objcopy.c (setup_bfd_headers): New function.
877 (copy_object): Call setup_bfd_headers.
878
879 2004-05-13 Paul Brook <paul@codesourcery.com>
880
881 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
882 entries.
883
884 2004-05-13 Nick Clifton <nickc@redhat.com>
885
886 * po/fr.po: Updated French translation.
887
888 2004-05-11 Jakub Jelinek <jakub@redhat.com>
889
890 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
891
892 2004-05-07 H.J. Lu <hongjiu.lu@intel.com>
893
894 * readelf.c (section_groups): New.
895 (group_count): New.
896 (section_headers_groups): New.
897 (process_section_groups): Populate group_count, section_groups
898 and section_headers_groups.
899 (process_unwind): Support section group.
900 (process_object): Always call process_section_groups. Free
901 section_groups and section_headers_groups.
902
903 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
904
905 * readelf.c (process_section_headers): Use %3lu on sh_info.
906
907 2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
908
909 * ranlib.sh: Quote $1 argument in case it contains spaces.
910
911 2004-04-27 John Paul Wallington <jpw@gnu.org>
912
913 * objcopy.c (copy_usage, strip_usage): Fix spelling.
914
915 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
916
917 * readelf.c (do_section_groups): New.
918 (options): Add --section-groups/-g.
919 (usage): Mention --section-groups/-g.
920 (parse_args): Support --section-groups/-g.
921 (get_group_flags): New.
922 (process_section_groups): New.
923 (process_object): Call process_section_groups.
924
925 2004-04-24 Alan Modra <amodra@bigpond.net.au>
926
927 * objdump.c (disassemble_section): Don't disassemble sections
928 without SEC_HAS_CONTENTS.
929
930 2004-04-22 Jakub Jelinek <jakub@redhat.com>
931
932 * objdump.c (synthsyms, synthcount): New variables.
933 (disassemble_data): Use dynsyms for stripped binaries or libraries.
934 Add synthetized symbols.
935 (dump_bfd): For disassemble, initialize dynsyms always and
936 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
937 before returning.
938
939 2004-04-14 Alan Modra <amodra@bigpond.net.au>
940
941 * strings.c (print_strings): Cast file_off to unsigned long in
942 printf arg list.
943
944 2004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
945
946 PR 86
947 * arsup.c (ar_save): Use smart_rename.
948
949 2004-04-01 Dean Luick <luick@cray.com>
950
951 * readelf.c (display_debug_pubnames): Align offset and data
952 columns.
953 (read_and_display_attr_value): Add missing break;
954 (debug_displays): Enable the display of the .debug_pubtypes
955 section.
956
957 2004-03-30 Stan Shebs <shebs@apple.com>
958
959 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
960 support files, no longer used.
961
962 2004-03-23 Paul Brook <paul@codesourcery.com>
963
964 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
965
966 2004-03-21 Richard Henderson <rth@redhat.com>
967
968 * readelf.c (display_debug_frames): Don't crash for mismatched
969 DW_CFA_restore_state.
970
971 2004-03-19 Alan Modra <amodra@bigpond.net.au>
972
973 * Makefile.am: Run "make dep-am".
974 * Makefile.in: Regenerate.
975 * aclocal.m4: Regenerate.
976 * config.in: Regenerate.
977 * configure: Regenerate.
978 * po/binutils.pot: Regenerate.
979
980 2004-03-15 Nathan Sidwell <nathan@codesourcery.com>
981
982 * objdump.c (struct SFILE): Replace current pointer with pos
983 offset, rename size to alloc.
984 (objdump_sprintf): Avoid unnecessary copies in the common case
985 (disassemble_bytes): Keep sfile live throughout the
986 function. Adjust usage appropriately.
987
988 2004-03-10 Ben Elliston <bje@gnu.org>
989
990 * MAINTAINERS: Update my mail address.
991
992 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
993
994 * deflex.l: Handle "PRIVATE" string.
995 * defparse.y (%token): Add PRIVATE.
996 (%type): Add opt_PRIVATE.
997 (expline): Pass opt_PRIVATE to def_exports.
998 (opt_PRIVATE): Handle PRIVATE token.
999 * dlltool.h (def_exports): Add 7th param for private flag to
1000 declaration.
1001 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
1002 (struct export): Add 'private' field.
1003 (def_exports): Set 'private' field of struct exports.
1004 (scan_drectve_symbols): Adjust calls to def_exports.
1005 (scan_filtered_symbols): Likewise.
1006 (dump_def_info): Print 'private' field.
1007 (gen_def_file): Likewise.
1008 (gen_lib_file): Skip generation of lib object if private.
1009 Delete tmp object files in same order as they were generated.
1010 Don't delete non-existent private object files.
1011
1012 2004-02-27 Andreas Schwab <schwab@suse.de>
1013
1014 * ar.c (main): Support POSIX-compatible argument parsing.
1015
1016 2004-02-23 Daniel Lucq <daniel@lucq.org>
1017
1018 * readelf.c (process_mips_specific): Print conflictsno as an
1019 unsigned long.
1020
1021 2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
1022
1023 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
1024
1025 2004-02-19 Jakub Jelinek <jakub@redhat.com>
1026
1027 * objcopy.c (copy_section): Avoid warnings.
1028
1029 2004-02-14 Andrew Cagney <cagney@redhat.com>
1030
1031 * ar.c (remove_output): Use bfd_cache_close.
1032 * arsup.c (ar_end): Ditto.
1033
1034 2004-01-21 Roland McGrath <roland@redhat.com>
1035
1036 * readelf.c (get_note_type): Match NT_AUXV.
1037
1038 2004-01-20 Nick Clifton <nickc@redhat.com>
1039
1040 * version.c (print_version): Update copyright year to 2004.
1041
1042 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1043
1044 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1045 throughout.
1046 * aclocal.m4: Regenerate.
1047 * configure: Regenerate.
1048
1049 2004-01-12 Jakub Jelinek <jakub@redhat.com>
1050
1051 * objcopy.c: Include elf-bfd.h.
1052 (is_strip_section): Don't strip debugging sections if
1053 STRIP_NONDEBUG.
1054 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
1055 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
1056
1057 * objcopy.c (copy_section): Free relpp if relcount == 0.
1058
1059 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
1060
1061 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
1062 (stab_demangle_argtypes): Likewise.
1063 (stab_demangle_v3_argtypes): New static function.
1064 (stab_demangle_v3_arg): New static function.
1065
1066 2004-01-12 Nick Clifton <nickc@redhat.com>
1067
1068 * objcopy.c (copy_object): Make the function boolean, returning
1069 FALSE upon failure.
1070 (copy_archive): Handle the return value from copy_object.
1071 (copy_file): Likewise.
1072
1073 2004-01-07 Nick Clifton <nickc@redhat.com>
1074
1075 * readelf.c (find_section): New function. Locates a named
1076 section.
1077 (get_debug_line_pointer_sizes): New function: Initialises the
1078 debug_line_pointer_sizes array.
1079 (display_debug_lines): Call get_debug_line_pointer_sizes.
1080 (display_debug_loc): Likewise.
1081 (load_debug_loc): Use find_section.
1082 (load_debug_str): Likewise.
1083 (display_debug_info): Likewise.
1084 (prescan_debug_info): Delete.
1085 (debug_displays): Remove prescan field.
1086 (process_section_contents): Do not perform prescans.
1087
1088 2004-01-03 Alan Modra <amodra@bigpond.net.au>
1089
1090 * objcopy.c (filter_bytes): Delete. Move code to..
1091 (copy_section): ..here. Simplify size adjustment. Divide
1092 section lma by interleave.
1093
1094 2004-01-02 Nick Clifton <nickc@redhat.com>
1095
1096 * po/ru.po: New file: Russian translation.
1097 * configure.in (ALL_LINGUAS): Add ru
1098 * configure: Regenerate.
1099
1100 For older changes see ChangeLog-0203
1101 \f
1102 Local Variables:
1103 mode: change-log
1104 left-margin: 8
1105 fill-column: 74
1106 version-control: never
1107 End:
This page took 0.049848 seconds and 3 git commands to generate.