]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
* addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
d5e7ea07
AM
12009-10-01 Alan Modra <amodra@bigpond.net.au>
2
3 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
4
94454bb4
NC
52009-09-29 Nick Clifton <nickc@redhat.com>
6
7 * doc/binutils.texi (c++filt): Remove spurious description of
8 nonexistent --java command line switch for cxxfilt.
9
c7927a3c
NC
102009-09-29 DJ Delorie <dj@redhat.com>
11
12 * readelf.c: Add support for RX target.
13 * MAINTAINERS: Add DJ and NickC as maintainers for RX.
14
52fbfb5d
AM
152009-09-28 Alan Modra <amodra@bigpond.net.au>
16
17 * configure.in: Don't invoke configure.tgt on $enable_targets.
18 * configure: Regenerate.
19
caa83f8b
NC
202009-09-28 Nick Clifton <nickc@redhat.com>
21
22 PR 10478
23 * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
24 SHN_AFTER section link values in x86 binaries.
25 (process_section_headers): Likewise.
26
c34f4fc6
NC
272009-09-25 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
28
29 PR 10656
30 * readelf.c: Remove duplicate declaration of variable do_wide.
31 * dwarf.h: Add export of do_wide.
32
2b6f5997
CC
332009-09-24 Cary Coutant <ccoutant@google.com>
34
35 * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
36 (get_FORM_name): Add new DWARF-4 forms.
37 (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
38 (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
39 (process_debug_info): Add do_types parameter; change all callers.
40 Add support for .debug_types sections.
41 (display_debug_types): New function.
42 (debug_displays): Add .debug_types section.
43 * readelf.c (process_section_headers): Add .debug_types section.
44 (display_debug_section): Simplify call to streq.
45
f4be36b3
AM
462009-09-25 Alan Modra <amodra@bigpond.net.au>
47
48 * readelf.c (print_dynamic_symbol): Format entries as for
49 normal symbol table.
50 (process_symbol_table): Use -7s format string for visibility.
51
46bc35a9
RS
522009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
53
54 * objdump.c (disassemble_section): Use bfd_get_arch_size
55 instead of assuming that the address size is 32 bits.
56
a7f2871e
AM
572009-09-21 Alan Modra <amodra@bigpond.net.au>
58
59 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
60 (get_ppc64_dynamic_type): Likewise.
61
ca58b19f
NC
622009-09-18 Nick Clifton <nickc@redhat.com>
63
64 * po/es.po: Updated Spanish translation.
331b68e8 65 * po/vi.po: Updated Vietnamese translation.
ca58b19f 66
c244d050
NC
672009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
68
69 * readelf.c (process_version_sections, process_symbol_table):
70 Use symbolic constants.
71
1e9cc1c2
NC
722009-09-11 Nick Clifton <nickc@redhat.com>
73
74 * po/binutils.pot: Updated by the Translation project.
75
8b31b6c4
NC
762009-09-11 Philippe De Muyter <phdm@macqel.be>
77
78 * obcopy.c (copy_object): New parameter `input_arch', architecture
79 of input file, if not specified in input file itself; all callers
80 updated; `binary_architecture' hack removed.
81 (copy_archive, copy_file): New parameter `input_arch', for
82 `copy_object' usage.
83 (copy_main): Accept `-B' (`--binary-architecture') option also
84 for any arch-less input ifile format, not only `binary'; remove
85 bfd_external_binary_architecture hack; instead, add `input_arch'
86 to calls to `copy_file'.
87 * windres.c, windmc.c : Obsolete and useless external references
88 to `bfd_external_binary_architecture' or `bfd_external_machine'
89 removed.
90 * doc/binutils.texi: Mention that -B parameter can be used for any
91 input file type which does not have its own architecture.
92
3f5e193b
NC
932009-09-10 Martin Thuresson <martin@mtme.org>
94
d5e7ea07 95 Update sources to compile cleanly with -Wc++-compat:
3f5e193b
NC
96 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
97 minisyms to avoid aliasing varning.
98 * ar.c: Add casts.
99 (normalize): Use name del instead of delete.
100 (display_target_list,display_info_table): Change loop counter
101 variable a to int.
102 * bucomm.c: Add casts.
103 * debug.c: Update function to use new names.
104 (struct debug_baseclass): Rename member from virtual to
105 is_virtual.
106 (struct debug_type_s, struct debug_field_s, struct
107 debug_baseclass_s, struct debug_method_s, struct
108 debug_method_variant_s, struct debug_type_s): Rename struct from
109 avoid name collision.
f4be36b3 110 * debug.h: Use new struct names.
3f5e193b
NC
111 * dwarf.c: Add casts.
112 (free_debug_memory): Change loop counter variable a to int.
113 * ieee.c: Add casts.
114 (enum ieee_var_kind): Move to top level.
115 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
116 (ieee_class_method_var): Rename variable virtual to is_virtual.
117 * nm.c: Add casts.
118 * objcopy.c: Add casts.
f4be36b3 119 (copy_archive): Rename variable delete to del.
3f5e193b
NC
120 * objdump.c: Add casts.
121 (dump_dwarf_section): Change loop counter variable i to int.
122 * prdbg.c: Add casts.
123 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
124 to is_virtual.
125 * readelf.c: Add casts.
126 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
127 top level.
128 * size.c: Add casts.
129 * stabs.c (parse_stab_type, parse_stab_range_type,
130 (parse_stab_cpp_abbrev): Rename parameter from typename to
131 type_name.
132 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
133 * strings.c: Add casts.
134 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
135 is_virtual.
136
cfcac11d
NC
1372009-09-09 Nick Clifton <nickc@redhat.com>
138
139 PR 10478:
140 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
141 SHF_ORDERED.
142 (process_section_headers): Warn about out of range sh_link
143 values. When displaying detailed section header information
144 annote the SHN_BEFORE and SHN_AFTER values.
145
4dc3c23d
AM
1462009-09-08 Alan Modra <amodra@bigpond.net.au>
147
148 * dwarf.c (byte_get_little_endian): Handle size of 3.
149 (byte_get_big_endian): Likewise.
150 * readelf.c (byte_put_little_endian): Likewise.
151 (byte_put_big_endian): Likewise.
152 (is_24bit_abs_reloc): New function.
153 (is_none_reloc): Formatting.
154 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
155 reloc peculiarity.
156
58332dda
JK
1572009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
158
159 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
160 New.
161
eb7cc021
JK
1622009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
163
164 * dwarf.c (process_debug_info): Support section padding abbrev codes.
165
23f938f1
TG
1662009-09-07 Tristan Gingold <gingold@adacore.com>
167
168 * po/binutils.pot: Regenerate.
169
4a29415d
JK
1702009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
171
172 * Makefile.am (sysdump.o): Depend on sysroff.c.
173 * Makefile.in: Regenerate.
174
96d56e9f
NC
1752009-09-05 Martin Thuresson <martin@mtme.org>
176
177 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
178 ieee_read_reference): Rename variables named class to cxxclass.
179
8deaa05e
TG
1802009-09-04 Tristan Gingold <gingold@adacore.com>
181
182 * BRANCHES: Add binutils-2_20-branch.
183
81c23f82
TG
1842009-09-04 Tristan Gingold <gingold@adacore.com>
185
186 * NEWS: Add marker for 2.20.
187
10e636d2
DK
1882009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
189
190 * dlltool.c (delayimp_name): Add new global variable
191 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
f4be36b3 192 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
10e636d2
DK
193 how_dljtab_roff2, how_dljtab, trampoline.
194 (i386_dljtab): Add binary stub for x86 delay import.
195 (i386_trampoline): Add text assembly stub for x86 delay import.
196 (mtable): Add delay import data for M386 and MX86 only.
197 (make_delay_head): New function.
198 (make_one_lib_file): New arg delay creates delay-load import stub.
199 (gen_lib_file): New arg delay likewise.
200 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
201 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
202 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
203 * NEWS: Mention new feature. Also fix whitespace.
204 * doc/binutils.texi: Updated dlltool documentation.
205
d3408916
TG
2062009-09-02 Tristan Gingold <gingold@adacore.com>
207
208 * configure.com: Do not copy makefile.vms-in to makefile.vms
209 * makefile.vms-in: Renamed to...
210 * makefile.vms: ... this usual name as it is not processed anymore.
211 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
212 objdump.exe.
213
7bb7d81f
RW
2142009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
215
216 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
217 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
218 source file name for generated files which may be in $(srcdir).
219 * Makefile.in: Regenerate.
220
43123e98
L
2212009-09-01 H.J. Lu <hongjiu.lu@intel.com>
222
223 * version.c (print_version): Change to "Copyright 2009".
224
e06ae0d4
TG
2252009-09-01 Tristan Gingold <gingold@adacore.com>
226
227 * makefile.vms-in: Remove unused VERSION variable. Remove unused
228 dependencies.
229 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
230
d3ce72d0
NC
2312009-08-29 Martin Thuresson <martin@mtme.org>
232
233 * nlmconv.c (main): Rename variable new to new_name.
234
791f3971
L
2352009-08-28 H.J. Lu <hongjiu.lu@intel.com>
236
237 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
238 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
239 (syslex.o): Likewise.
240 (sysinfo.o): Likewise.
241 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
242 * Makefile.in: Regenerated.
243
b96fec5e
DK
2442009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
245
246 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
247 (--subsystem): ... from here.
248
765abe2b
CC
2492009-08-24 Cary Coutant <ccoutant@google.com>
250
251 * objdump.c (find_symbol_for_address): Avoid costly call to
252 bfd_octets_per_byte.
253
a15af8e2
RW
2542009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
255
256 * Makefile.am (am__skiplex, am__skipyacc): New.
257 * Makefile.in: Regenerate.
258
61186d57
RW
2592009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
260
261 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
262 * Makefile.in: Regenerate.
263
81ecdfbb
RW
2642009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
265
14ec8efd
RW
266 * Makefile.am (AM_CPPFLAGS): Renamed from ...
267 (INCLUDES): ... this.
268 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
269 (installcheck-local): Renamed from ...
270 (installcheck): ... this.
271 * Makefile.in: Regenerate.
272
556274f9
RW
273 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
274 foreign.
275 (MKDEP, CLEANFILES): Remove now-unneeded variables.
276 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
277 (mkdep section): Remove.
278 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
279 (EXTRA_ar_SOURCES): New, list $(CFILES).
280 (syslex.o): Depend on syslex.c.
281 (sysinfo.o): Depend on sysinfo.c.
282 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
283 Remove dependencies, now tracked by automake.
284 (srconv.o): Depend on sysroff.c.
285 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
286 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
287 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
288 tracking rules; only list the dependency upon the primary source
289 file, but no included headers.
290 * Makefile.in: Regenerate.
291
af542c2e
RW
292 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
293 (install-html-recursive): Remove.
294 * Makefile.in: Regenerate.
295 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
296 (html__strip_dir, install-html, install-html-am): Remove.
297 * doc/Makefile.in: Regenerate.
298
81ecdfbb
RW
299 * Makefile.in: Regenerate.
300 * aclocal.m4: Likewise.
301 * config.in: Likewise.
302 * configure: Likewise.
303 * doc/Makefile.in: Likewise.
304
5fda8eca
NC
3052009-08-17 Nick Clifton <nickc@redhat.com>
306
307 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
308 32-bit absolute reloc for the purposes of processing debug
309 sections.
310
7f6fed87
NC
3112009-08-10 Daniel Gutson <dgutson@codesourcery.com>
312
313 * readelf.c (get_arm_section_type_name): Added support for
314 new sections headers.
315
92fac5ec
L
3162009-08-03 H.J. Lu <hongjiu.lu@intel.com>
317
318 PR binutils/10364
319 * objcopy.c (strip_main): Check return from smart_rename.
320 (copy_main): Likewise.
321
d2fcac5c
NC
3222009-07-27 Nick Clifton <nickc@redhat.com>
323
324 PR 10413
325 * objdump.c (dump_section_header): Skip sections that we are
326 ignoring.
327
8a9036a4
L
3282009-07-25 H.J. Lu <hongjiu.lu@intel.com>
329
330 * readelf.c (guess_is_rela): Handle EM_L1OM.
331 (dump_relocations): Likewise.
332 (get_machine_name): Likewise.
333 (get_section_type_name): Likewise.
334 (get_elf_section_flags): Likewise.
335 (get_symbol_index_type): Likewise.
336 (is_32bit_abs_reloc): Likewise.
337 (is_32bit_pcrel_reloc): Likewise.
338 (is_64bit_abs_reloc): Likewise.
339 (is_64bit_pcrel_reloc): Likewise.
340 (is_none_reloc): Likewise.
341
3e7a7d11
NC
3422009-07-23 Ulrich Drepper <drepper@redhat.com>
343
344 * readelf.c (get_symbol_binding): For Linux targeted files return
345 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
346 * doc/binutils.texi: Document the meaning of the 'u' symbol
347 binding in the output of nm and objdump --syms.
348
3dcb3fcb
L
3492009-07-20 H.J. Lu <hongjiu.lu@intel.com>
350
351 * NEWS: Mention --insn-width.
352
353 * objdump.c (insn_width): New.
354 (usage): Display --insn-width.
355 (option_values): Add OPTION_INSN_WIDTH.
356 (long_options): Add --insn-width.
357 (disassemble_bytes): Handle insn_width.
358 (main): Handle OPTION_INSN_WIDTH.
359
360 * doc/binutils.texi: Document --insn-width.
361
008f4c78
NC
3622009-07-17 Nick Clifton <nickc@redhat.com>
363
364 * dwarf.c (display_debug_lines): If do_debug_lines has not been
365 set then default to displaying raw .debug_line section contents.
366
01a8f077
JK
3672009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
368
369 Support unordered .debug_info references to .debug_ranges.
370 * dwarf.c (struct range_entry, range_entry_compar): New.
371 (display_debug_ranges): Remove variables last_offset, first, j,
372 seen_first_offset, use_debug_info and next. New variables
373 range_entries and range_entry_fill. Create the sorted copy
374 range_entries. Remove the FIXME error on detected unordered references.
375 * dwarf.h (debug_info <range_lists>): New comment.
376
1aa604e1
NC
3772009-07-14 Nick Clifton <nickc@redhat.com>
378
379 PR 10380
380 * README: Document use of LDFLAGS="--static".
381
8455dd2c
L
3822009-07-10 H.J. Lu <hongjiu.lu@intel.com>
383
384 * Makefile.am: Run "make dep-am".
385 * Makefile.in: Regenerated.
386
fa8f86ff
TT
3872009-07-10 Tom Tromey <tromey@redhat.com>
388
389 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
390 * Makefile.in: Rebuild.
391 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
392
c8450da8
TG
3932009-07-06 Tristan Gingold <gingold@adacore.com>
394
395 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
396 sections.
397 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
398 * dwarf.c (debug_displays): Adjust for removed field.
399
3244e8f5
JJ
4002009-07-03 Jakub Jelinek <jakub@redhat.com>
401
402 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
403 and DW_OP_implicit_value.
404
a87a00ea
NC
4052009-07-01 Nick Clifton <nickc@redhat.com>
406
407 PR 6714
408 * rclex.c (handle_quotes): Do not complain about whitespace
409 separating quoted strings.
410 (rclex_string): Ignore whitespace when looking for a new opening
411 quote following a closing quote.
412
52a476ee
L
4132009-06-27 H.J. Lu <hongjiu.lu@intel.com>
414
415 PR binutils/10321
416 * bucomm.c (get_file_size): Return -1 on error.
417
418 * objcopy.c (copy_file): Report empty file.
419
cf13d699
NC
4202009-06-23 Nick Clifton <nickc@redhat.com>
421
422 * dwarf.c (display_debug_lines_raw): Include the name of the
423 section in warning message.
424 (struct debug_display): Enable reloc processing for .debug_line
425 and .debug_ranges sections.
426
427 * readelf.c: Add --relocated-dump command line option to dump the
428 relocated contents of a specified section.
429 (request_dump): New function.
430 (parse_args): Use it.
431 (dump_section_as_bytes): Add parameter to indicate whether the
432 contents should be relocated.
433 (target_specific_reloc_handling): Add code for a R_MN10300_16
434 reloc found after a R_MN10300_SYM_DIFF reloc.
435 (debug_apply_relocations): Rename to apply_relocations.
436 (get_section_contents): New function. Replaces common code found
437 in dump_section_as_strings and dump_section_as_bytes.
438 * doc/binutils.texi: Document new command line option.
439 * NEWS: Mention the new feature.
440
98fb390a
NC
4412009-06-22 Nick Clifton <nickc@redhat.com>
442
443 * readelf.c (target_specific_reloc_handling): New function:
444 Processes relocs in a target specific manner.
445 (debug_apply_relocations): Use the new function.
446 * dwarf.c (display_debug_loc): End the dump with a blank line.
447 (struct debug_display): Enable reloc processing for .debug_aranges
448 and .debug_loc sections.
449
d46fc8e8
NC
4502009-06-19 Nick Clifton <nickc@redhat.com>
451
452 * ar.c (usage): Do not use #ifdef inside _("...).
453 * nm.c (usage): Likewise.
454
0313a2b8
NC
4552009-06-18 Nick Clifton <nickc@redhat.com>
456
457 PR 10288
458 * objdump.c (disassemble_bytes): Set the
459 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
460 if the user has invoked the -m switch.
461 * doc/binutils.texi: Document the additional behaviour of
462 objdump's -m switch for ARM targets.
463
361dff73
DK
4642009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
465
0313a2b8
NC
466 * configure.in: Merge cegcc and mingw32ce target name changes from
467 CeGCC project.
361dff73 468
0313a2b8 4692007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
470
471 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
472 * configure: Regenerate.
473
1316c8b3
NC
4742009-06-15 Nick Clifton <nickc@redhat.com>
475
476 PR 10263
477 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
478 the flags field of the disassemble_info structure if the -D switch
479 is in operation.
480
0e27a8f6
NC
4812009-06-12 Homer Xing <homer.xing@yahoo.com>
482
483 * NEWS: Mention new feature added to gprof.
484
f64fddf1
NC
4852009-06-12 John Reiser <jreiser@BitWagon.com>
486
487 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
488 freeing it and before returning.
489
d3a44ec6
JJ
4902009-06-12 Jakub Jelinek <jakub@redhat.com>
491
492 * readelf.c (process_symbol_table): Don't return early if
493 .hash/.gnu.hash is empty/unusable and not -D.
494
b882b028
NC
4952009-06-09 Tom Bramer <tjb@postpro.net>
496
497 PR 10165
498 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
499 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
500
e36aef42
AM
5012009-06-04 Alan Modra <amodra@bigpond.net.au>
502
503 * strings.c (main): Delay parsing of decimal digits.
504
4b9d2a99
AM
5052009-06-04 Alan Modra <amodra@bigpond.net.au>
506
507 * dep-in.sed: Don't use \n in replacement part of s command.
508 * Makefile.am (DEP1): LC_ALL for uniq.
509 Run "make dep-am".
510 * Makefile.in: Regenerate.
511
b517c9b6
TG
5122009-06-03 Tristan Gingold <gingold@adacore.com>
513
514 * MAINTAINERS: Add myself as Mach-O maintainer.
515
1533edfb
AM
5162009-06-01 Alan Modra <amodra@bigpond.net.au>
517
518 PR 10199
519 * doc/binutils.texi (nm): Correct -S description.
520
b662cd9e
NC
5212009-05-28 Nick Clifton <nickc@redhat.com>
522
523 * po/da.po: Updated Danish translation.
524
5dff79d8
NC
5252009-05-28 Nick Clifton <nickc@redhat.com>
526
527 * readelf.c (display_debug_section): Do not display debug sections
528 with the NOBITS section type.
529
fc579192
NC
5302009-05-27 Rafael Avila de Espindola <espindola@google.com>
531
532 * aclocal.m4: Include ../config/plugins.m4.
533 * configure.in: Use AC_PLUGINS.
534 * configure: Regenerate.
535 * Makefile.in: Regenerate.
536 * doc/Makefile.in: Regenerate.
537
5382009-05-27 Rafael Avila de Espindola <espindola@google.com>
539
540 * ar.c (main): Call bfd_plugin_set_program_name.
541 * nm.c (main): Call bfd_plugin_set_program_name.
542
3614867c
NS
5432009-05-27 Nathan Sidwell <nathan@codesourcery.com>
544
545 * sysdump.c (tab): Use puts rather than two printfs.
546
f12e7348
NC
5472009-05-26 Nick Clifton <nickc@redhat.com>
548
549 * po/id.po: Updated Indonesian translation.
550 * po/binutils.pot: Updated template file.
551
ce3c775b
NC
5522009-05-26 Rafael Avila de Espindola <espindola@google.com>
553
554 * ar.c: Include plugin.h.
555 (main): Handle the --plugin option.
556 * nm.c: Include plugin.h.
557 (OPTION_PLUGIN): New.
558 (long_options): Add plugin.
559 (main): Handle OPTION_PLUGIN.
560 * NEWS: Mention the new feature.
561 * doc/binutils: Documement the new command line options.
562 * configure.in: Check for --enable-plugins.
563 * configure: Regenerate.
564
00f3247a
AM
5652009-05-26 Alan Modra <amodra@bigpond.net.au>
566
567 * dep-in.sed: Output one filename per line with all lines having
568 continuation backslash. Prefix first line with "A", following
569 lines with "B".
570 * Makefile.am (DEP): Don't use dep.sed here.
571 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
572 sort and uniq.
573 * Makefile.in: Regenerate.
574
c5ac1056
TG
5752009-05-25 Tristan Gingold <gingold@adacore.com>
576
577 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
578
579 * configure.com: Fix it: handle alloca and define TARGET in config.h.
580
2b3decb5
AM
5812009-05-22 Alan Modra <amodra@bigpond.net.au>
582
583 * Makefile.am: Run "make dep-am".
584 * Makefile.in: Regenerate.
585
78e82dc3
AM
5862009-05-12 Alan Modra <amodra@bigpond.net.au>
587
588 * objcopy.c (set_long_section_mode): Check input_bfd is coff
589 before accessing coff specific fields of bfd.
590
57f6e0bc
DK
5912009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
592
593 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
594
34e8a6f7
KT
5952009-05-08 Kai Tietz <kai.tietz@onevision.com>
596
597 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
598 is defined, but not when __CYGWIN__ or _WIN32 are defined.
599 See wind_iconv_cp for call logic of this local funtion.
600
6f4c2146
NC
6012009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
602
603 PR 10109
604 * winduni.c: Replace test of HAVE_ICONV_H with a test of
605 HAVE_ICONV.
606 (iconv_onechar): Use ICONV_CONST instead of "const".
607 (wind_MultiByteToWideChar): Initialise local strings.
608
d8045f23
NC
6092009-04-30 Nick Clifton <nickc@redhat.com>
610
611 * readelf.c (dump_relocations): Display a relocation against an
612 ifunc symbol as if it were a function invocation.
613 (get_symbol_type): Handle STT_GNU_IFUNC.
614
43cd3ced
AG
6152009-04-29 Anthony Green <green@moxielogic.com>
616
617 * NEWS: Tweak verilog support description.
618
c6a0c689
AM
6192009-04-29 Alan Modra <amodra@bigpond.net.au>
620 Denis Scherbakov <denis_scherbakov@yahoo.com>
621
622 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
623 read, and merge with 32-bit case.
624
c067354b
NC
6252009-04-27 Anthony Green <green@moxielogic.com>
626
627 * NEWS: Mention verilog support added to bfd.
628
325c681d
L
6292009-04-27 H.J. Lu <hongjiu.lu@intel.com>
630
631 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
632 parameters.
633
ed4a4bdf
CC
6342009-04-24 Cary Coutant <ccoutant@google.com>
635
636 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
637 Add missing newlines to HP extensions.
638
d9118602
L
6392009-04-17 H.J. Lu <hongjiu.lu@intel.com>
640
641 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
642 * doc/binutils.texi: Likewise.
643
92dd4511
L
6442009-04-17 H.J. Lu <hongjiu.lu@intel.com>
645
646 PR binutils/10074
647 * objcopy.c: Include coff/i386.h and coff/pe.h.
648 (pe_file_alignment): New.
649 (pe_heap_commit): Likewise.
650 (pe_heap_reserve): Likewise.
651 (pe_image_base): Likewise.
652 (pe_section_alignment): Likewise.
653 (pe_stack_commit): Likewise.
654 (pe_stack_reserve): Likewise.
655 (pe_subsystem): Likewise.
656 (pe_major_subsystem_version): Likewise.
657 (pe_minor_subsystem_version): Likewise.
658 (set_pe_subsystem): Likewise.
659 (convert_efi_target): Likewise.
660 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
661 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
662 OPTION_STACK and OPTION_SUBSYSTEM.
663 (copy_options): Likewise.
664 (copy_usage): Add --file-alignment, --heap, --image-base,
665 --section-alignment, --stack and --subsystem.
666 (copy_object): Set up PE parameters.
667 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
668 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
669 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
670 PEI target.
671
672 * NEWS: Mention --file-alignment, --heap, --image-base,
673 --section-alignment, --stack and --subsystem command line
674 options for objcopy.
675
676 * doc/binutils.texi: Document --file-alignment, --heap,
677 --image-base, --section-alignment, --stack and --subsystem
678 command line options for objcopy.
679
20135e4c
NC
6802009-04-15 Anthony Green <green@moxielogic.com>
681
17eb60e9 682 * MAINTAINERS: Add myself as Moxie port maintainer.
20135e4c 683
0408dee6
DK
6842009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
685
686 * objcopy.c (enum long_section_name_handling): New enum type.
687 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
688 (copy_options[]): Add entry for --long-section-names option.
689 (copy_usage): Document it.
690 (set_long_section_mode): New subroutine.
691 (copy_file): Call it.
692 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
693 * doc/binutils.texi: Update objcopy documentation with details
694 of new option.
695
2fe50fe3
DK
6962009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
697
698 * dlltool.c (set_dll_name_from_def): Accept new second arg that
699 indicates if we are building DLL or EXE, and use it to add a
700 default suffix to the output filename when none is already present.
701 (def_name): Indicate we are building an EXE when calling it.
702 (def_library): Indicate we are building a DLL when calling it.
703
ffbe5983
NC
7042009-04-01 Jari Aalto <jari.aalto@cante.net>
705
706 PR 9972
707 * doc/binutils.texi (strings): Document the -V alias for the
708 --version option.
709 * strings.c (usage): Likewise.
710
e3525117
NC
7112009-03-31 Nick Clifton <nickc@redhat.com>
712
713 PR 9992
714 * configure.in: Import Solaris specific largefile test from
715 bfd/configure.in.
716 * configure: Regenerate.
717
93abc97a
RS
7182009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
719
720 * MAINTAINERS: Add self.
721
4a149252
NC
7222009-03-27 Nick Clifton <nickc@redhat.com>
723
724 * dwarf.c (display_debug_ranges): Add the base address to the
f4be36b3 725 displayed values for 'Begin' and 'End'.
4a149252 726
15ba6505
AM
7272009-03-25 Ryan Mansfield <rmansfield@qnx.com>
728
729 * readelf.c (process_file_header): Don't report a corrupt string
730 table index if it is zero.
731
665ce1f6
L
7322009-03-19 H.J. Lu <hongjiu.lu@intel.com>
733
734 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
735 (dwarf_regnames_count): Likewise.
736 (frame_need_space): Return int.
737 (display_debug_frames): Check invalid registers.
738
55f25fc3
L
7392009-03-19 H.J. Lu <hongjiu.lu@intel.com>
740
741 * readelf.c (debug_apply_relocations): Check relocations
742 against STT_SECTION symbol.
743
13e4f8ad
L
7442009-03-18 H.J. Lu <hongjiu.lu@intel.com>
745
746 * readelf.c (debug_apply_relocations): Allow relocations
747 against function symbols.
748
8d25cc3d
AM
7492009-03-18 Alan Modra <amodra@bigpond.net.au>
750
751 * sysdep.h: Include alloca-conf.h instead of config.h and remove
752 existing #if's handling alloca.
753 * Makefile.am: Run "make dep-am".
754 * Makefile.in: Regenerate.
755
e5231592
RS
7562009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
757
758 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
759 * configure.in: Likewise.
760 * configure: Regenerate.
761
3516e984
L
7622009-03-13 H.J. Lu <hongjiu.lu@intel.com>
763
764 PR binutils/9945
765 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
766
36e4dce6
CD
7672009-03-11 Chris Demetriou <cgd@google.com>
768
769 * ar.c (deterministic): New global variable.
770 (main): Recognize new 'D' option, which enables 'deterministic mode'.
771 (usage): Document new 'D' option.
772 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
773 flags if deterministic mode was requested.
774 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
775
0691f7af
L
7762009-03-09 H.J. Lu <hongjiu.lu@intel.com>
777
778 PR binutils/9933
779 * objcopy.c (filter_symbols): Properly handle common symbols
780 in relocatable file.
781
d11fd249
NC
7822009-03-06 Nick Clifton <nickc@redhat.com>
783
784 * po/es.po: Updated Spanish translation.
785
84d7b001
NC
7862009-03-05 Nick Clifton <nickc@redhat.com>
787
788 * objdump.c (disassemble_section): If the computed next offset is
789 not beyond the current offset then just continue to the end.
790
e7f990e2
TG
7912009-03-04 Tristan Gingold <gingold@adacore.com>
792
793 * MAINTAINERS: Add myself as VMS maintainer.
794
54b70fa3
NC
7952009-03-03 Nick Clifton <nickc@redhat.com>
796
797 * readelf.c: Update formatting.
798
a1f7ca36
AM
7992009-03-03 Alan Modra <amodra@bigpond.net.au>
800
801 * Makefile.am: Run "make dep-am".
802 * Makefile.in: Regenerate.
803
095ad3b8
AM
8042009-03-03 Alan Modra <amodra@bigpond.net.au>
805
806 * objdump.c (disassemble_section): Mask address before sign extending.
807
220df88b
NC
8082009-03-02 Sebastian Biallas <sb@biallas.net>
809
810 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
811 (parse_ieee_bb): Set the filename if it has not already been
812 discovered.
813
2cf0635d 8142009-03-02 Cary Coutant <ccoutant@google.com>
095ad3b8 815
2cf0635d
NC
816 * readelf.c (adjust_relative_path): New function.
817 (struct archive_info): New type.
818 (setup_archive): New function.
819 (release_archive): New function.
820 (setup_nested_archive): New function.
821 (get_archive_member_name): New function.
822 (get_archive_member_name_at): New function.
823 (make_qualified_name): New function.
824 (process_archive): Factor out code for reading archive index and
825 long filename table to setup_archive. Add support for thin archives.
826
c7c1befa
NC
8272009-03-02 Nick Clifton <nickc@redhat.com>
828
829 * po/sk.po: Updated Slovak translation.
830
58e24671
RW
8312009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
832
833 * configure: Regenerate.
834
7bcbeb0f
CC
8352009-02-23 Cary Coutant <ccoutant@google.com>
836
837 * objdump.c (load_specific_debug_section): New function, from
838 load_debug_section.
839 (load_debug_section): Use load_specific_debug_section.
840 (dump_dwarf_section): Likewise.
841
613ff48b
CC
8422009-02-23 Cary Coutant <ccoutant@google.com>
843
844 * readelf.c (parse_args): Select all sections explicitly for -w.
845
48b2f7b2
KT
8462009-02-09 Kai Tietz <kai.tietz@onevision.com>
847
848 * windres.c (set_endianess): Copy name without leading '-'.
849
4cb93e3b
TG
8502009-02-09 Tristan Gingold <gingold@adacore.com>
851
852 * NEWS: Mention feature match between objdump and readelf for dumping
853 dwarf info.
854
855 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
856 objdump.
857
858 * objdump.c (usage): Update documentation for -W/--dwarf.
859 (enum option_values): Add OPTION_DWARF.
860 (long_options): --dwarf can accept arguments.
861 (dump_dwarf_section): Also check enabled field.
862 (main): Option -W can accept arguments, code moved to
863 dwarf.c and call dwarf_select_sections_all instead.
864 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
865 (parse_args): Move code to...
866 * dwarf.c (dwarf_select_sections_by_letters,
867 dwarf_select_sections_by_names): : ...here (new functions).
868 (do_debug_lines_decoded): Remove and replaced by ...
869 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
870 (display_debug_lines): Adjust for previous change.
871 (dwarf_select_sections_all): New function.
872 (debug_displays): Add initializer for enabled field.
873 * dwarf.h (do_debug_lines_decoded): Remove.
874 Add prototypes for the new functions.
875 (struct dwarf_section_display): Add enabled field.
095ad3b8 876
dfb37fbf
NC
8772009-02-06 Nick Clifton <nickc@redhat.com>
878
879 * po/vi.po: Updated Vietnamese translation.
880
52b6b6b9
JM
8812009-02-03 Sandip Matte <sandip@rmicorp.com>
882
883 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
884
28024d9d
L
8852009-02-03 H.J. Lu <hongjiu.lu@intel.com>
886
887 * NEWS: Move --as-needed change to ...
888 * ../ld/NEWS: Here.
889
31dd3154
JM
8902009-02-03 Carlos O'Donell <carlos@codesourcery.com>
891
892 * configure.in: AC_SUBST pdfdir.
893 * Makefile.am: Add install-pdf, install-pdf-am,
894 and install-pdf-recursive targets.
895 * doc/Makefile.am: Define pdf__strip_dir. Add
896 install-pdf and install-pdf-am targets.
897 * po/Make-in: Add install-pdf target.
898 * configure: Regenerate.
899 * Makefile.in: Regenerate.
900 * doc/Makefile.in: Regenerate.
901
0dafdf3f
L
9022009-02-03 H.J. Lu <hongjiu.lu@intel.com>
903
904 PR binutils/9784
905 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
906
907 * doc/binutils.texi: Document --prefix=PREFIX and
908 --prefix-strip=LEVEL.
909
910 * objdump.c: Include "filenames.h".
911 (prefix): New.
912 (prefix_strip): Likewise.
913 (prefix_length): Likewise.
914 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
915 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
916 (long_options): Likewise.
917 (show_line): Handle prefix and prefix_strip.
918 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
919
920 * readelf.c (PATH_MAX): Moved to ...
921 * sysdep.h: Here.
922
010e5ae2
AM
9232009-01-31 Alan Modra <amodra@bigpond.net.au>
924
925 * NEWS: Mention --as-needed change.
926
8d8e0703
AM
9272009-01-29 Alan Modra <amodra@bigpond.net.au>
928
929 PR 9798
930 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
931 (bfd_get_archive_filename): Constify param.
932 * bucomm.h (bfd_get_archive_filename): Update prototype.
933 * objcopy.c (RETURN_NONFATAL): Delete.
934 (copy_unknown_object): Don't call bfd_get_archive_filename for
935 bfd_nonfatal_message filename, instead just pass bfd.
936 (copy_object): Likewise.
937 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
938 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
939 (setup_bfd_headers): Fix error message.
940
1b0adfe0
NC
9412009-01-27 Nick Clifton <nickc@redhat.com>
942
943 PR 9774
944 * objdump.c (disassemble_section): When the target uses signed
945 addresses make sure that we compute signed values.
946
9f04c329
NC
9472009-01-27 Nick Clifton <nickc@redhat.com>
948
949 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
950 maintainers.
951
2c2ce03f
NC
9522009-01-26 Nick Clifton <nickc@redhat.com>
953
954 PR 9766
955 * dlltool.c (xlate): When strip text after the @ sign, look for
956 the last one not the first one.
957
29670fb9
AM
9582009-01-16 Alan Modra <amodra@bigpond.net.au>
959
960 * configure.in (commonbfdlib): Delete.
961 * configure: Regenerate.
962
25893672
NC
9632008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
964
965 Cleanup code related to --identify option.
966
3f5e193b 967 * dlltool.c (file scope): Removed globals identify_ms,
25893672
NC
968 identify_member_contains_symname_result,
969 identify_dll_name_list_head, and identify_dll_name_list_tail.
970 Renamed existing typedef dll_name_list_type to
971 dll_name_list_node_type.
972 Added new typedefs dll_name_list_type, symname_search_data_type,
973 and identify_data_type.
974 (identify_append_dll_name_to_list): Renamed to...
975 (dll_name_list_append): ...here. Changed signature to accept list
976 argument rather than use global.
977 (identify_count_dll_name_list): Renamed to...
978 (dll_name_list_count): ...here. Changed signature to accept list
979 argument rather than use global.
980 (identify_print_dll_name_list): Renamed to...
981 (dll_name_list_print): ...here. Changed signature to accept list
982 argument rather than use global.
983 (identify_free_dll_name_list): Renamed to...
984 (dll_name_list_free_contents): ...here.
985 (dll_name_list_free): New function.
986 (dll_name_list_create): New function.
987 (identify_process_section_p): Changed signature to accept
988 ms_style_implib argument rather than use global.
989 (identify_member_contains_symname): Expect incoming void * data to
990 be symname_search_data_type.
991 (identify_dll_for_implib): Use new functions dll_name_list_create
992 and dll_name_list_free. Use new types symname_search_data_type
993 and identify_data_type to communicate with search routines.
994 (identify_search_section): Expect incoming void * data to be
995 identify_data_type. Use its contents rather than global
996 variables.
997
71c57c16
NC
9982009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
999
1000 Add --identify-strict option. Handle ms-style implibs:
1001
1002 * dlltool.c (file scope): Added new globals identify_ms and
1003 identify_strict. New typedef dll_name_list_type, and globals
1004 identify_dll_name_list_head and identify_dll_name_list_tail. Added
1005 new global identify_member_contains_symname_result.
1006 (identify_append_dll_name_to_list): New function.
1007 (identify_count_dll_name_list): New function.
1008 (identify_print_dll_name_list): New function.
1009 (identify_free_dll_name_list): New function.
1010 (identify_search_archive): Changed signature to take function
1011 pointer to operation to apply to each member, and data to pass on
1012 to that function.
1013 (identify_search_member): Changed signature to accept user data
1014 from caller.
1015 (identify_member_contains_symname): New function.
1016 (identify_dll_for_implib): Rewrite. Now determines whether implib
1017 is ms- or binutils- style, before searching sections for
095ad3b8 1018 dllname. Allows multiple dllnames.
71c57c16
NC
1019 (identify_process_section_p): Search alternate section for dllname
1020 when implib is ms-style.
1021 (identify_search_section): Add additional conditions to excludes
1022 candidate sections from consideration.
1023 (usage): Added --identify-strict.
1024 (long_options): Added --identify-strict.
1025 (main): Handle --identify-strict option.
1026 * doc/binutils.texi: Document --identify-strict option.
1027 * NEWS: Document --identify and --identify-strict options.
1028
840b96a7
AM
10292009-01-13 Alan Modra <amodra@bigpond.net.au>
1030
1031 PR 7034
1032 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1033
22f4bbf5
AM
10342009-01-13 Alan Modra <amodra@bigpond.net.au>
1035
1036 * objdump.c (disassemble_section): Don't assume non-instruction
1037 data if object symbol at given address is in different section.
1038
2ea2f3c6
KT
10392009-01-12 Kai Tietz <kai.tietz@onevision.com>
1040
1041 * dlltool.c (create_for_pep): New.
1042 (flush_page): Use create_for_pep instead of using
1043 macro DLLTOOL_MX86_64 clause.
1044 (generate_idata_ofile): Likewise.
1045 (make_one_lib_file): Likewise.
1046 (make_head): Likewise.
1047 (make_tail): Likewise.
1048 (main): Initialize create_for_pep.
1049
e77b97d4
KT
10502009-01-08 Kai Tietz <kai.tietz@onevision.com>
1051
1052 * dlltool.c (use_nul_prefixed_import_tables): New.
1053 (make_head): Make prefix leading zero prefix element for
1054 idata$4 and idata$5 dependent to new flag.
1055 (usage): Add new option --use-nul-prefixed-import-tables.
1056 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1057 (long_options): Add --use-nul-prefixed-import-tables.
1058 (main): Likewise.
1059 * doc/binutils.texi: Add new option documentation for
1060 --use-nul-prefixed-import-tables.
1061 * NEWS: Add new option.
1062
1069ad51 10632009-01-06 Kai Tietz <kai.tietz@onevision.com>
84e94c90 1064
1069ad51
KT
1065 * windres.c (set_endianess): Get architecture name
1066 for internal target names like "pe-arm-wince-little".
1067 (find_arch_match): New helper.
1068 * ChangeLog: Reset it.
1069 * ChangeLog-2008: Moved old ChangeLog.
84e94c90 1070
1069ad51 1071For older changes see ChangeLog-2008
252b5132
RH
1072\f
1073Local Variables:
1074mode: change-log
1075left-margin: 8
1076fill-column: 74
1077version-control: never
1078End: