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