Eliminate ia64-aix-tdep.c.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
b38c7015
L
12005-01-05 H.J. Lu <hongjiu.lu@intel.com>
2
3 * readelf.c (have_frame_base): New.
4 (need_base_address): Likewise.
5 (saved_base_address): Likewise.
6 (decode_location_expression): Return 1 if DW_AT_frame_base is
7 needed.
8 (debug_info): Add base_address and a have_frame_base pointer.
9 (read_and_display_attr_value): Replace saved_DW_AT_low_pc with
10 saved_base_address. Record base address. Set have_frame_base.
11 Record if a location list has DW_AT_frame_base. Display if a
12 location expression has no DW_AT_frame_base but needs one. Set
13 saved_base_address only if needed.
14 (process_debug_info): Clear have_frame_base, saved_base_address
15 and set need_base_address.
16 (display_debug_loc): Display if a location expression has no
17 DW_AT_frame_base but needs one. Display if start >= end. Don't
18 adjust for section address. Properly handle base address.
19 (process_object): Free the have_frame_base pointer in
20 debug_info.
21
b0660586
L
222005-01-04 H.J. Lu <hongjiu.lu@intel.com>
23
24 * readelf.c (display_debug_loc): Display offsets for hole and
25 overlap.
26 (display_debug_str): Add a newline at the end.
27
8b626bcf
NC
282005-01-04 Armin Diehl <diehl@nordrhein.de>
29
30 PR binutils/630
31 * nlmconv.c (main): Only store the basename of the output filename
32 in the module table.
33
5b18a4bc
NC
342005-01-04 H.J. Lu <hongjiu.lu@intel.com>
35
36 BZ 615
37 * readelf.c (process_debug_info): New.
38 (debug_info): Add num_loc_offsets, loc_offsets and
39 last_loc_offset_p.
40 (get_debug_info): Use process_debug_info.
41 (display_debug_loc): Properly handle location list. Warn if bad
42 location lists are encoutnered.
43 (read_and_process_attr_value): New.
44 (read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
45 (display_debug_info): Use process_debug_info.
46 (process_object): Also free loc_offsets in debug_information.
47
180e47e2
AM
482004-12-31 Alan Modra <amodra@bigpond.net.au>
49
50 * objdump.c (remove_useless_symbols): Discard section symbols.
51
0c548fce
L
522004-12-27 H.J. Lu <hongjiu.lu@intel.com>
53
54 * readelf.c (read_leb128): Support 64bit host.
55
5b18a4bc
NC
562004-12-23 Nick Clifton <nickc@redhat.com>
57
58 PR binutils/616
59 * readelf.c (debug_info): Add 'cu_offset' field.
60 (get+pointer_size_of_comp_unit): Rename to
61 'get_pointer_size_and_offset_of_comp_unit'. Add code to return
62 the offset of the comp_unit if requested.
63 (get_debug_info): Record comp_unit offsets as well.
64 (display_debug_lines): Call get_pointer_size_of_comp_unit.
65 (decode_location_expression): Add an extra parameter - the offset
66 of the current comp-unit. Use this when decoding the DW_OP_call2
67 and DW_OP_call4 operators.
68 (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the
69 comp_unit offset on the decode_location_expression.
70 (read_and_display_attr_value): Pass the comp_unit offset on the
71 decode_location_expression.
72 (display_debug_frames): Pass 0 as the comp_unit offset to
73 decode_location_expression.
74
76a56260
NC
752004-12-22 Nick Clifton <nickc@redhat.com>
76
77 * readelf.c (last_pointer_size, warned_about_missing_comp_units):
78 New variables associated with obtaining the pointer size for a
79 comp_unit.
80 (get_pointer_size_of_comp_unit): Add an extra parameter - the name
81 of the section requesting the pointer size. Use this name in
82 error messages. If there are not enough comp_units available
83 produce a warning message, but return the last known pointer size
84 so that section dumping can continue.
85 (get_debug_info): Reset the new variables.
86 (display_debug_lines): Add extra parameter to invocation of
87 get_pointer_size_of_comp_unit and remove error message when it
88 returns 0.
89 (display_debug_loc): Likewise.
90
bcf32829
JB
912004-12-15 Jan Beulich <jbeulich@novell.com>
92
93 * doc/binutils.texi: Document --strip-unneeded-symbol and
94 --strip-unneeded-symbols.
95 * objcopy.c (strip_unneeded_list): New.
96 (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
97 and OPTION_STRIP_UNNEEDED_SYMBOLS.
98 (copy_options): Add --strip-unneeded-symbol and
99 --strip-unneeded-symbols.
100 (copy_usage): Likewise.
101 (filter_symbols): Suppress copying of symbol if in strip_unneeded_list
102 and the symbol is not needed.
103 (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
104 OPTION_STRIP_UNNEEDED_SYMBOLS.
105
ebcb91b7
ILT
1062004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
107
108 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
109
a2f33459
BE
1102004-12-08 Ben Elliston <bje@au.ibm.com>
111
112 * arlex.l: Fix formatting.
113
36607f99
BE
1142004-12-08 Ben Elliston <bje@au.ibm.com>
115
116 * doc/Makefile.am (config.texi): Emit a @set UPDATED command to
117 config.texi whose value is the current month and year.
118 * doc/Makefile.in: Rebuild.
119 * doc/binutils.texi: Set the document subtitle to be the value of
120 the Texinfo UPDATED variable (obtained from config.texi).
121
2aa9814e
BE
1222004-12-07 Ben Elliston <bje@au.ibm.com>
123
124 PR binutils/249
125 * doc/binutils.texi (def file format): New node.
126 (dlltool): Use the tool name as the @chapter name, like all the
127 other binutils. Use @file{.def} throughout for consistency.
128
c7de9216
BE
1292004-12-06 Ben Elliston <bje@au.ibm.com>
130
131 * dlltool.c: Comment fix.
132
2423fbe6
BE
1332004-12-06 Ben Elliston <bje@au.ibm.com>
134
135 * doc/binutils.texi: Update copyright years.
136
73fb7068
RS
1372004-12-03 Richard Sandiford <rsandifo@redhat.com>
138
139 * MAINTAINERS: Remove mention of config.if.
140
32118081
NC
1412004-11-30 Tero Niemela <tero_niemela@yahoo.com>
142
143 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
144 * Makefile.in: Regenerate.
145
2b25cacb
ILT
1462004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
147
148 PR binutils/536
149 * stabs.c (stab_demangle_template): Call stab_demangle_count
150 rather than stab_demangle_get_count to get the length of a pointer
151 target.
152
74aba8aa
DS
1532004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
154
155 * defparse.y: Remove unnecessary commas from token list.
156
977cdf5a
NC
1572004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
158
159 * doc/binutils.texi (nm): Update description of weak symbols.
160
18bd398b
NC
1612004-11-03 Nick Clifton <nickc@redhat.com>
162
163 * readelf.c (do_debug_ranges): New variable.
164 (usage): Document new switch: -wR or --debug-dump=Ranges.
165 (parse_args): Handle new switch. Replace switch statement for the
166 long options with a more compact table structure.
167 (process_section_headers): Allow the dumping of .debug_ranges
168 sections if so requested.
169 (debug_displays): Likewise.
170 (load_debug_range): New function: Grabs the contents of a
171 .debug_ranges section.
172 (free_debug_range): New function: Releases the grabbed
173 .debug_ranges section.
174 (decode_64bit_range): New function: Displays a 64-bit range in a
175 .debug_ranges section.
176 (decode_range): New function: Displays a 32-bit range in a
177 .debug_ranges section.
178 (read_and_display_attr_value): Record the value of DW_AT_low_pc
179 attributes. Use decode_ranges() to display a DW_AT_ranges
180 attribute.
181 (display_debug_info): Use load_debug_range() and
182 free_debug_range().
183 (display_64bit_debug_ranges): New function. Displays the contents
184 of a 64-bit format .debug_ranges section.
185 (display_debug_ranges): New function: Displays the contents of a
186 32-bit .debug_ranges section.
187
188 (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the
189 global scope.
190 (process_object): Initialise the dump_sects array from the
191 cmdline_dump_sects array before processing each object file.
192
193 (streq, strneq): New macros. Use them to replace occurrences of
194 strcmp() and strncmp().
195
196 (debug_information): New structure array to replace
197 debug_line_pointer_sizes array.
198 (num_debug_info_entries): New variable to replace
199 num_debug_line_pointers.
200 (get_pointer_size_of_comp_unit): New function: Returns the pointer
201 size of a given compilation unit.
202 (get_debug_info): New function to replace
203 get_debug_line_pointer_sizes.
204 (display_debug_lines): Use the new functions.
205 (display_debug_loc): Likewise.
206
207 (disassemble_section): Change return type to int.
208 (display_debug_lines): Move local variables to their
209 innermost scope.
210 (display_debug_section): Likewise. Also record the return value
211 of functions called and pass this back to the parent. Also only
212 warn about undumped sections when the user explicitly requested
213 their dumping.
214
215 (debug_apply_rela_addends): Allow relocations against STT_OBJECT
216 types as well.
217
218 * NEWS: Mention the support for decoding .debug_ranges sections.
219 * doc/binutils.texi: Document the new command line switch to
220 readelf.
221
57346661
AM
2222004-11-03 Randolph Chung <tausq@debian.org>
223
224 * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from
225 unw_aux_info and unw_table_entry.
226 (find_symbol_for_address): Pass symtab and strtab info explicitly.
227 (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_
228 prefix.
229 (slurp_ia64_unwind_table): Likewise.
230 (ia64_process_unwind): Rename from old process_unwind.
231 (hppa_unw_aux_info): New.
232 (dump_hppa_unwind): New.
233 (slurp_hppa_unwind_table): New.
234 (hppa_process_unwind): New.
235 (process_unwind): Factor out common unwinding checks; dispatch to
236 unwind handler based on machine type.
237
935d0bca
NC
2382004-11-02 Nick Clifton <nickc@redhat.com>
239
240 * readelf.c (display_debug_lines): Fix typo in error message.
241
1ec5cd37
NC
2422004-10-26 Mark Mitchell <mark@codesourcery.com>
243
244 * readelf.c (get_note_type): Handle notes not in core files.
245 (process_note_sections): New function.
246 (process_corefile_contents): Rename to ...
247 (process_notes): ... this.
248 (process_object): Call process_notes, not
249 process_corefile_contents.
250 * doc/binutils.texi: Update readelf -n documentation.
251
b3f21e4a
JJ
2522004-10-26 Jakub Jelinek <jakub@redhat.com>
253
254 * ar.c (extract_file): Set atime to mtime for ar xo.
255
2b4c4cc4
ILT
2562004-10-25 Ian Lance Taylor <ian@wasabisystems.com>
257
258 * stabs.c (stab_demangle_v3_arglist): New static function, broken
259 out of stab_demangle_v3_argtypes.
260 (stab_demangle_v3_argtypes): Call it.
261 (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE.
262 If we find an unrecognized component, print out its number.
263
1ffa9a18
L
2642004-10-25 David Mosberger <davidm@hpl.hp.com>
265
266 * readelf.c (slurp_ia64_unwind_table): Support relocations against
267 non-section symbols by adding in the symbol value.
268
d79b3d50
NC
2692004-10-25 Nick Clifton <nickc@redhat.com>
270
271 PR 465
272 * readelf.c (dynamic_strings_length): New global variable.
273 (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing
274 strings in the dynamic string table.
275 (process_section_headers): Initialise dynamic_strings_length.
276 (process_dynamic_section): Likewise.
277 (process_object): Reset dynamic_string_length when the buffer is freed.
278 (dynamic_sections_mips_val): Use the new macros.
279 (process_dynamic_section): Likewise.
280 (process_version_sections): Likewise.
281 (process_symbol_table): Likewise.
282 (process_syminfo): Likewise.
283 (process_mips_specific): Likewise.
284 (dump_relocations): Add a new parameter 'strtablen' and use this
285 to verify that string offset in a given reloc is valid. Print a
286 suitable error message otherwise.
287 (process_relocs): Pass the new argument to dump_relocations.
288
0fd555c4
NC
2892004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
290
291 * dlltool.c: Include <assert.h>.
292 (PREFIX_ALIAS_BASE): Define.
293 (struct export): Add member import_name;
294 (def_exports): Set import_name.
295 (make_one_lib_file): Remove prefix alias code, use import_name
296 in .idata$6.
297 (gen_lib_file): Create and delete aliases.
298
5ab0c1a1
L
2992004-10-19 H.J. Lu <hongjiu.lu@intel.com>
300
301 * readelf.c (process_section_groups): Free symtab after use.
302
d412a550
NC
3032004-10-18 Tommy Pettersson <ptp@lysator.liu.se>
304 Nick Clifton <nickc@redhat.com>
305
306 * strings.c (usage): Place radix values for -t option into the
307 correct order.
308
309 * objcopy.c (add_redefine_syms_file): Change error messages to use
310 <filename>:<linenumber>: format for easier parsing by automatic
311 tools.
312
313 * srconv.c (show_usage): Fix spelling typo.
314
315 * windres.c (format_from_filename): Suggest the use of -J instead
316 of -I if the file type cannot be determined.
317
fb608b92
NC
3182004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
319
320 * strings.c: Include <sys/stat.h>.
321
2bb2d727
AM
3222004-10-18 Alan Modra <amodra@bigpond.net.au>
323
7f67d4c9
AM
324 * budemang.c (demangle): Fix thinko.
325
2bb2d727
AM
326 * budemang.c (demangle): Handle "@plt" suffix.
327
61bbd35b
NC
3282004-10-14 Nick Clifton <nickc@redhat.com>
329
330 * nm.c (usage): Fix description of --special-syms switch.
331
fb5b5478
JJ
3322004-10-13 Jakub Jelinek <jakub@redhat.com>
333
334 * strings.c (statbuf): New typedef.
335 (file_stat): Define.
336 (strings_object_file): Avoid using get_file_size, instead do the
337 checks here, using file_stat.
338 * configure.in (HAVE_STAT64): New test.
339 * configure: Rebuilt.
340 * config.in: Rebuilt.
341
8cb51566
PB
3422004-10-12 Paul Brook <paul@codesourcery.com>
343
344 * readelf.c (decode_ARM_machine_flags): Support EABI version 4.
345
83ef0798
AM
3462004-10-11 Alan Modra <amodra@bigpond.net.au>
347
348 * objdump.c (dump_symbols): Fix thinko last change. Improve error
349 messages.
350
3c9458e9
NC
3512004-10-08 Nick Clifton <nickc@redhat.com>
352
353 * nm.c: Add a new switch --special-syms which, if enabled, will
354 include the ARM Mapping symbols in nm's output.
355 (usage): Mention the switch.
356 (filter_symbols): Handle the switch.
357 * objdump.c: Add a similar switch.
358 (usage): Mention the switch.
359 (dump_symbols): Handle the switch.
360 * doc/binutils.texi: Document the new switches.
361 * NEWS: Mention the new switches.
362
d2b2c203
DJ
3632004-10-08 Daniel Jacobowitz <dan@debian.org>
364
365 * readelf.c (get_x86_64_section_type_name): New function.
366 (get_section_type_name): Use it.
367
d67a454c
NC
3682004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
369
370 * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04
371 patches.
372 * doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
373
1c877e87
AO
3742004-10-07 Alexandre Oliva <aoliva@redhat.com>
375
376 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
377 types.
378
40a18ebd
NC
3792004-10-01 Paul Brook <paul@codesourcery.com>
380
381 * readelf.c (get_arm_section_type_name): New function.
382 (get_section_type_name): Use it.
383
382c1116
NC
3842004-09-28 Nick Clifton <nickc@redhat.com>
385
eb1ab0cf 386 * nm.c: Reorder functions to eliminate most of the static function
382c1116
NC
387 prototypes.
388
cbaa0dc5
AM
3892004-09-22 Alan Modra <amodra@bigpond.net.au>
390
391 * readelf.c (process_program_headers): Don't include .tbss in non-TLS
392 segments.
393
3443c1ae
AM
3942004-09-17 Alan Modra <amodra@bigpond.net.au>
395
396 * Makefile.am: Run "make dep-am".
397 * Makefile.in: Regenerate.
398 * config.in: Regenerate.
399 * configure: Regenerate.
400 * doc/Makefile.in: Regenerate.
401 * po/binutils.pot: Regenerate.
402
74013231
AM
4032004-09-12 Alan Modra <amodra@bigpond.net.au>
404
405 * readelf.c (decode_location_expression): Sign extend value for
406 DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.
407
360589e8
NC
4082004-09-09 Nick Clifton <nickc@redhat.com>
409
410 PR 363
411 * ar.c (replace_members): Do not use get_file_size as
412 ar_emul_append correctly handles missing files.
413
d15b04bd
L
4142004-09-07 H.J. Lu <hongjiu.lu@intel.com>
415
416 * configure: Regenerated with autconfig 2.13.
417
d597aff7
DS
4182004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
419
74013231
AM
420 * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
421 documentation.
d597aff7 422
04c34128
NC
4232004-09-06 Michael Wardle <mbw@endbracket.net>
424
3023b782 425 * doc/binutils.texi (objdump): Document that the -x switch includes
04c34128
NC
426 the effect of the -p switch.
427
d597aff7 4282004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
5df31fad 429
6cef8f72
DS
430 * dlltool.c (make_one_lib_file): Test if internal_name was
431 specified by user before using it.
5df31fad 432
74013231 4332004-09-02 Carlo Wood <carlo@alinoe.com>
5885be89
NC
434
435 PR binutils/351
436 * dlltool.c (make_one_lib_file): For IDATA6 take the name from
437 exp->internal_name if it is present.
438
ec2dfb42
AO
4392004-09-02 Alexandre Oliva <aoliva@redhat.com>
440
441 * MAINTAINERS: Add self as co-maintainer of FR-V.
442 * readelf.c (get_machine_flags): Print FR-V cpu types.
443
0873df2a
AM
4442004-08-28 Alan Modra <amodra@bigpond.net.au>
445
446 * nm.c (show_synthetic): New var.
447 (long_options): Add "synthetic".
448 (usage): Here too.
449 (display_rel_file): Handle show_synthetic.
450
c9727e01
AM
4512004-08-28 Alan Modra <amodra@bigpond.net.au>
452
453 * objdump.c (dump_bfd): Pass both symbol tables to
454 bfd_get_synthetic_symtab.
455
90e3cdf2
JJ
4562004-08-17 Jakub Jelinek <jakub@redhat.com>
457
458 * objdump.c (dump_bfd): For relocatable objects, pass syms instead
459 of dynsyms to bfd_get_synthetic_symtab.
460
d84de024
AM
4612004-08-16 Alan Modra <amodra@bigpond.net.au>
462
463 * readelf.c (debug_apply_rela_addends): New function, extracted from..
464 (display_debug_info): ..here.
465 (display_debug_frames): Call debug_apply_rela_addends. Don't do
466 DW_EH_PE_pcrel adjustment for ET_REL.
467
efcb5b0e
AS
4682004-08-06 Andreas Schwab <schwab@suse.de>
469
470 * readelf.c (dump_relocations): Fix typo when calculating
471 sec_index.
472
d3cde3af
NC
4732004-08-02 Jakub Bogusz <qboosh@pld-linux.org>
474
475 * dllwrap.c (deduce_name): Fix typos introduced when program_name
476 was renamed to prog_name.
477
1d70c7fb
AO
4782004-07-29 Alexandre Oliva <aoliva@redhat.com>
479
480 * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
481 EF_SH2A_NOFPU.
482
ccde1100
AO
4832004-07-28 Alexandre Oliva <aoliva@redhat.com>
484
485 2003-07-08 Alexandre Oliva <aoliva@redhat.com>
486 * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
487 EF_SH4A_NOFPU.
488 2003-06-12 Alexandre Oliva <aoliva@redhat.com>
489 * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.
490
082b7297
L
4912004-07-21 H.J. Lu <hongjiu.lu@intel.com>
492
493 * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
494 to access comdat.
495 * objdump.c (dump_section_header): Likewise.
496
44a6d974
NC
4972004-07-15 Aravinda PR <aravindapr@rediffmail.com>
498
499 * nlmconv.c (main): Pass map_file argument to link_inputs.
500 (link_inputs): Use map_file argument if it is defined.
501
61513dc1
NC
5022004-07-13 Nick Clifton <nickc@redhat.com>
503
504 * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid
505 conflicts with exported global defined in bucomm.h.
506 (deduce_name): Rename parameter 'program_name' to 'name' to avoid
507 shadowing the global defined in bucomm.h.
508
607dea97
NC
5092004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
510
511 * dlltool.c (ext_prefix_alias): New global variable.
512 (make_one_lib_file): Add aliases with prefixes for external
513 and import definitions.
514 (usage): Document -p option.
515 (long_options): Add --ext-prefix-alias option.
516 (main): Handle -p.
517 * doc/binutils.texi: Document new switch.
518 * NEWS: Mention new switch.
519
2758961a
NC
5202004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
521
522 * binutils/dlltool.c (asm_prefix): Add parameter: name.
523 No underscore for symbols beginning with ?.
524 (ASM_PREFIX): Add parameter: NAME.
525 (gen_exp_file): Use new parameter.
526 (make_label): Likewise.
527 (make_imp_label): Likewise.
528 (make_one_lib_file): Likewise.
529
1fe1f39c
NC
5302004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
531
532 * MAINTAINERS: Added myself to the list.
533 * readelf.c: Include "elf/crx.h".
534 (guess_is_rela): Handle EM_CRX.
535 (get_machine_name): Likewise.
536 (dump_relocations): Likewise.
537
c87db184
CF
5382004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
539
540 * doc/binutils.texi (nm): Clarify weak symbol description.
541
fb7b006e
BE
5422004-06-24 Ben Elliston <bje@au.ibm.com>
543
544 * readelf.c (get_segment_type): Display "GNU_STACK", not just
545 "STACK", when a PT_GNU_STACK segment is encountered.
546
eea6121a
AM
5472004-06-24 Alan Modra <amodra@bigpond.net.au>
548
549 * objcopy.c (copy_section): Don't set _cooked_size.
550
fb514b26
AM
5512004-06-22 Alan Modra <amodra@bigpond.net.au>
552
ba2685cc
AM
553 * readelf.c (Elf32_Word): Delete.
554 (get_32bit_dynamic_section): Handle SGI ELF dynamic segment.
555 (get_64bit_dynamic_section): Likewise.
556
557 * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry.
558 (get_64bit_dynamic_section): Likewise.
559
86dba8ee
AM
560 * readelf.c (dynamic_nent): New variable.
561 (get_32bit_dynamic_section): Set it.
562 (get_64bit_dynamic_section): Here too.
563 (process_dynamic_section): Use it instead of dynamic_size.
564 (process_syminfo): Likewise.
565
fb514b26
AM
566 * readelf.c (get_32bit_dynamic_section): Correct number of entries
567 translated from external to internal form.
568 (get_64bit_dynamic_section): Likewise.
569
b2d38a17
NC
5702004-06-18 Jie Zhang <zhangjie@magima.com.cn>
571
572 * readelf.c (process_program_headers): When locating the dynamic
573 section use the section table if it is present.
574 (dynamic_segment): Renamed to dynamic_section.
575 Replace references to dynamic segment with references to dynamic
576 section, except where appropriate.
577 (dynamic_segment_mips_val): Rename to dynamic_section_mips_val.
578 (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val.
579 (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val.
580 (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section.
581 Remove tag counting code as it is no longer needed.
582 (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section.
583 Remove tag counting code as it is no longer needed.
584 (process_dynamic_segment): Rename to process_dynamic_section.
eea6121a 585
135dfb4a
AM
5862004-06-15 Alan Modra <amodra@bigpond.net.au>
587
588 * objcopy.c (copy_section): Use bfd_get_section_size instead of
589 _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done.
590 (compare_section_lma): Likewise.
591 * addr2line.c (find_address_in_section): Likewise.
592 * coffgrok.c (do_sections_p1): Likewise.
593 * dlltool.c (scan_drectve_symbols): Likewise.
594 * nlmconv.c (main): Likewise.
595 (copy_sections): Likewise.
596 (powerpc_mangle_relocs): Likewise.
597 * objdump.c (disassemble_section): Likewise.
598 * prdbg.c (find_address_in_section): Likewise.
599 * size.c (berkeley_sum): Likewise.
600 * srconv.c (wr_ob): Likewise.
601 * strings.c (strings_a_section): Likewise.
602
90e01f86
ILT
6032004-05-28 Ian Lance Taylor <ian@wasabisystems.com>
604
605 * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT.
606
80fccad2
BW
6072004-05-17 David Heine <dlheine@tensilica.com>
608
eea6121a 609 * objcopy.c (setup_bfd_headers): New function.
80fccad2
BW
610 (copy_object): Call setup_bfd_headers.
611
0da76f83
NC
6122004-05-13 Paul Brook <paul@codesourcery.com>
613
614 * readelf.c (display_debug_frames): Handle dwarf3 format CIE
615 entries.
616
9598fbe5
NC
6172004-05-13 Nick Clifton <nickc@redhat.com>
618
619 * po/fr.po: Updated French translation.
620
8c37241b
JJ
6212004-05-11 Jakub Jelinek <jakub@redhat.com>
622
623 * readelf.c (get_segment_type): Handle PT_GNU_RELRO.
624
e4b17d5c
L
6252004-05-07 H.J. Lu <hongjiu.lu@intel.com>
626
627 * readelf.c (section_groups): New.
628 (group_count): New.
629 (section_headers_groups): New.
630 (process_section_groups): Populate group_count, section_groups
631 and section_headers_groups.
632 (process_unwind): Support section group.
633 (process_object): Always call process_section_groups. Free
634 section_groups and section_headers_groups.
635
f2da459f
L
6362004-04-30 H.J. Lu <hongjiu.lu@intel.com>
637
638 * readelf.c (process_section_headers): Use %3lu on sh_info.
639
f8935895
NC
6402004-04-30 Michael Deutschmann <michael@talamasca.ocis.net>
641
642 * ranlib.sh: Quote $1 argument in case it contains spaces.
643
6442004-04-27 John Paul Wallington <jpw@gnu.org>
a95b5cf9
AM
645
646 * objcopy.c (copy_usage, strip_usage): Fix spelling.
647
f5842774
L
6482004-04-26 H.J. Lu <hongjiu.lu@intel.com>
649
650 * readelf.c (do_section_groups): New.
651 (options): Add --section-groups/-g.
652 (usage): Mention --section-groups/-g.
653 (parse_args): Support --section-groups/-g.
654 (get_group_flags): New.
655 (process_section_groups): New.
656 (process_object): Call process_section_groups.
657
46212538
AM
6582004-04-24 Alan Modra <amodra@bigpond.net.au>
659
660 * objdump.c (disassemble_section): Don't disassemble sections
661 without SEC_HAS_CONTENTS.
662
4c45e5c9
JJ
6632004-04-22 Jakub Jelinek <jakub@redhat.com>
664
665 * objdump.c (synthsyms, synthcount): New variables.
666 (disassemble_data): Use dynsyms for stripped binaries or libraries.
667 Add synthetized symbols.
668 (dump_bfd): For disassemble, initialize dynsyms always and
669 also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count
670 before returning.
671
e9f87780
AM
6722004-04-14 Alan Modra <amodra@bigpond.net.au>
673
674 * strings.c (print_strings): Cast file_off to unsigned long in
675 printf arg list.
676
1ba93119
AM
6772004-04-07 Benjamin Monate <benjamin.monate@cea.fr>
678
679 PR 86
680 * arsup.c (ar_save): Use smart_rename.
681
935a41f5
NC
6822004-04-01 Dean Luick <luick@cray.com>
683
684 * readelf.c (display_debug_pubnames): Align offset and data
685 columns.
686 (read_and_display_attr_value): Add missing break;
687 (debug_displays): Enable the display of the .debug_pubtypes
688 section.
689
92e25cf8
SS
6902004-03-30 Stan Shebs <shebs@apple.com>
691
692 * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
693 support files, no longer used.
694
d507cf36
PB
6952004-03-23 Paul Brook <paul@codesourcery.com>
696
697 * readelf.c (decode_ARM_machine_flags): Add EABI v3.
698
8c9a9879
RH
6992004-03-21 Richard Henderson <rth@redhat.com>
700
701 * readelf.c (display_debug_frames): Don't crash for mismatched
702 DW_CFA_restore_state.
703
6ece5c52
AM
7042004-03-19 Alan Modra <amodra@bigpond.net.au>
705
706 * Makefile.am: Run "make dep-am".
707 * Makefile.in: Regenerate.
708 * aclocal.m4: Regenerate.
709 * config.in: Regenerate.
710 * configure: Regenerate.
711 * po/binutils.pot: Regenerate.
712
6f104306
NS
7132004-03-15 Nathan Sidwell <nathan@codesourcery.com>
714
715 * objdump.c (struct SFILE): Replace current pointer with pos
716 offset, rename size to alloc.
717 (objdump_sprintf): Avoid unnecessary copies in the common case
718 (disassemble_bytes): Keep sfile live throughout the
719 function. Adjust usage appropriately.
720
523f6a27
BE
7212004-03-10 Ben Elliston <bje@gnu.org>
722
723 * MAINTAINERS: Update my mail address.
724
7aa52b1f
NC
7252004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
726
727 * deflex.l: Handle "PRIVATE" string.
728 * defparse.y (%token): Add PRIVATE.
729 (%type): Add opt_PRIVATE.
730 (expline): Pass opt_PRIVATE to def_exports.
731 (opt_PRIVATE): Handle PRIVATE token.
732 * dlltool.h (def_exports): Add 7th param for private flag to
733 declaration.
734 * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
735 (struct export): Add 'private' field.
736 (def_exports): Set 'private' field of struct exports.
737 (scan_drectve_symbols): Adjust calls to def_exports.
738 (scan_filtered_symbols): Likewise.
739 (dump_def_info): Print 'private' field.
740 (gen_def_file): Likewise.
741 (gen_lib_file): Skip generation of lib object if private.
742 Delete tmp object files in same order as they were generated.
743 Don't delete non-existent private object files.
744
af865222
AS
7452004-02-27 Andreas Schwab <schwab@suse.de>
746
747 * ar.c (main): Support POSIX-compatible argument parsing.
748
c7e7ca54
NC
7492004-02-23 Daniel Lucq <daniel@lucq.org>
750
751 * readelf.c (process_mips_specific): Print conflictsno as an
752 unsigned long.
753
eff21b8e
CF
7542004-02-21 Dmitry Timoshkov <dmitry@baikal.ru>
755
756 * dlltool.c (gen_exp_file): Always output names for forwarded symbols.
757
2f01ffbf
JJ
7582004-02-19 Jakub Jelinek <jakub@redhat.com>
759
760 * objcopy.c (copy_section): Avoid warnings.
761
c92c35e7
AC
7622004-02-14 Andrew Cagney <cagney@redhat.com>
763
764 * ar.c (remove_output): Use bfd_cache_close.
765 * arsup.c (ar_end): Ditto.
766
9d241085
RM
7672004-01-21 Roland McGrath <roland@redhat.com>
768
769 * readelf.c (get_note_type): Match NT_AUXV.
770
d99e9f4d
NC
7712004-01-20 Nick Clifton <nickc@redhat.com>
772
773 * version.c (print_version): Update copyright year to 2004.
774
f8b73030
MR
7752004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
776
777 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
778 throughout.
779 * aclocal.m4: Regenerate.
780 * configure: Regenerate.
781
f0312d39
JJ
7822004-01-12 Jakub Jelinek <jakub@redhat.com>
783
784 * objcopy.c: Include elf-bfd.h.
785 (is_strip_section): Don't strip debugging sections if
786 STRIP_NONDEBUG.
787 (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
788 ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
789
790 * objcopy.c (copy_section): Free relpp if relcount == 0.
791
041821e6
ILT
7922004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
793
794 * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
795 (stab_demangle_argtypes): Likewise.
796 (stab_demangle_v3_argtypes): New static function.
797 (stab_demangle_v3_arg): New static function.
798
950d48e7
NC
7992004-01-12 Nick Clifton <nickc@redhat.com>
800
801 * objcopy.c (copy_object): Make the function boolean, returning
802 FALSE upon failure.
eea6121a
AM
803 (copy_archive): Handle the return value from copy_object.
804 (copy_file): Likewise.
950d48e7 805
d9296b18
NC
8062004-01-07 Nick Clifton <nickc@redhat.com>
807
808 * readelf.c (find_section): New function. Locates a named
809 section.
810 (get_debug_line_pointer_sizes): New function: Initialises the
811 debug_line_pointer_sizes array.
eea6121a
AM
812 (display_debug_lines): Call get_debug_line_pointer_sizes.
813 (display_debug_loc): Likewise.
814 (load_debug_loc): Use find_section.
815 (load_debug_str): Likewise.
816 (display_debug_info): Likewise.
817 (prescan_debug_info): Delete.
818 (debug_displays): Remove prescan field.
819 (process_section_contents): Do not perform prescans.
d9296b18 820
5e675b72
AM
8212004-01-03 Alan Modra <amodra@bigpond.net.au>
822
823 * objcopy.c (filter_bytes): Delete. Move code to..
824 (copy_section): ..here. Simplify size adjustment. Divide
825 section lma by interleave.
826
f0660b73
NC
8272004-01-02 Nick Clifton <nickc@redhat.com>
828
829 * po/ru.po: New file: Russian translation.
830 * configure.in (ALL_LINGUAS): Add ru
831 * configure: Regenerate.
eb18fd22 832
c9e214e5 833For older changes see ChangeLog-0203
252b5132
RH
834\f
835Local Variables:
836mode: change-log
837left-margin: 8
838fill-column: 74
839version-control: never
840End:
This page took 0.278415 seconds and 4 git commands to generate.