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