* ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
46bc35a9
RS
12009-09-22 Richard Sandiford <rdsandiford@googlemail.com>
2
3 * objdump.c (disassemble_section): Use bfd_get_arch_size
4 instead of assuming that the address size is 32 bits.
5
a7f2871e
AM
62009-09-21 Alan Modra <amodra@bigpond.net.au>
7
8 * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
9 (get_ppc64_dynamic_type): Likewise.
10
ca58b19f
NC
112009-09-18 Nick Clifton <nickc@redhat.com>
12
13 * po/es.po: Updated Spanish translation.
331b68e8 14 * po/vi.po: Updated Vietnamese translation.
ca58b19f 15
c244d050
NC
162009-09-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17
18 * readelf.c (process_version_sections, process_symbol_table):
19 Use symbolic constants.
20
1e9cc1c2
NC
212009-09-11 Nick Clifton <nickc@redhat.com>
22
23 * po/binutils.pot: Updated by the Translation project.
24
8b31b6c4
NC
252009-09-11 Philippe De Muyter <phdm@macqel.be>
26
27 * obcopy.c (copy_object): New parameter `input_arch', architecture
28 of input file, if not specified in input file itself; all callers
29 updated; `binary_architecture' hack removed.
30 (copy_archive, copy_file): New parameter `input_arch', for
31 `copy_object' usage.
32 (copy_main): Accept `-B' (`--binary-architecture') option also
33 for any arch-less input ifile format, not only `binary'; remove
34 bfd_external_binary_architecture hack; instead, add `input_arch'
35 to calls to `copy_file'.
36 * windres.c, windmc.c : Obsolete and useless external references
37 to `bfd_external_binary_architecture' or `bfd_external_machine'
38 removed.
39 * doc/binutils.texi: Mention that -B parameter can be used for any
40 input file type which does not have its own architecture.
41
3f5e193b
NC
422009-09-10 Martin Thuresson <martin@mtme.org>
43
44 Update soruces to compile cleanly with -Wc++-compat:
45
46 * addr2line.c (slurp_symtab): Fix casts. Introduce variable
47 minisyms to avoid aliasing varning.
48 * ar.c: Add casts.
49 (normalize): Use name del instead of delete.
50 (display_target_list,display_info_table): Change loop counter
51 variable a to int.
52 * bucomm.c: Add casts.
53 * debug.c: Update function to use new names.
54 (struct debug_baseclass): Rename member from virtual to
55 is_virtual.
56 (struct debug_type_s, struct debug_field_s, struct
57 debug_baseclass_s, struct debug_method_s, struct
58 debug_method_variant_s, struct debug_type_s): Rename struct from
59 avoid name collision.
60 * debug.h: Use new struct names.
61 * dwarf.c: Add casts.
62 (free_debug_memory): Change loop counter variable a to int.
63 * ieee.c: Add casts.
64 (enum ieee_var_kind): Move to top level.
65 (ieee_class_baseclass): Rename parameter virtual to is_virtual.
66 (ieee_class_method_var): Rename variable virtual to is_virtual.
67 * nm.c: Add casts.
68 * objcopy.c: Add casts.
69 (copy_archive): Rename variable delete to del.
70 * objdump.c: Add casts.
71 (dump_dwarf_section): Change loop counter variable i to int.
72 * prdbg.c: Add casts.
73 (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
74 to is_virtual.
75 * readelf.c: Add casts.
76 (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
77 top level.
78 * size.c: Add casts.
79 * stabs.c (parse_stab_type, parse_stab_range_type,
80 (parse_stab_cpp_abbrev): Rename parameter from typename to
81 type_name.
82 (parse_stab_baseclasses): Rename variable virtual to is_virtual.
83 * strings.c: Add casts.
84 * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
85 is_virtual.
86
cfcac11d
NC
872009-09-09 Nick Clifton <nickc@redhat.com>
88
89 PR 10478:
90 readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
91 SHF_ORDERED.
92 (process_section_headers): Warn about out of range sh_link
93 values. When displaying detailed section header information
94 annote the SHN_BEFORE and SHN_AFTER values.
95
4dc3c23d
AM
962009-09-08 Alan Modra <amodra@bigpond.net.au>
97
98 * dwarf.c (byte_get_little_endian): Handle size of 3.
99 (byte_get_big_endian): Likewise.
100 * readelf.c (byte_put_little_endian): Likewise.
101 (byte_put_big_endian): Likewise.
102 (is_24bit_abs_reloc): New function.
103 (is_none_reloc): Formatting.
104 (apply_relocations): Use is_24bit_abs_reloc. Handle pj and xtensa
105 reloc peculiarity.
106
58332dda
JK
1072009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
108
109 * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
110 New.
111
eb7cc021
JK
1122009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
113
114 * dwarf.c (process_debug_info): Support section padding abbrev codes.
115
23f938f1
TG
1162009-09-07 Tristan Gingold <gingold@adacore.com>
117
118 * po/binutils.pot: Regenerate.
119
4a29415d
JK
1202009-09-05 Jan Kratochvil <jan.kratochvil@redhat.com>
121
122 * Makefile.am (sysdump.o): Depend on sysroff.c.
123 * Makefile.in: Regenerate.
124
96d56e9f
NC
1252009-09-05 Martin Thuresson <martin@mtme.org>
126
127 * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
128 ieee_read_reference): Rename variables named class to cxxclass.
129
8deaa05e
TG
1302009-09-04 Tristan Gingold <gingold@adacore.com>
131
132 * BRANCHES: Add binutils-2_20-branch.
133
81c23f82
TG
1342009-09-04 Tristan Gingold <gingold@adacore.com>
135
136 * NEWS: Add marker for 2.20.
137
10e636d2
DK
1382009-09-04 Timo Kreuzer <timo.kreuzer@web.de>
139
140 * dlltool.c (delayimp_name): Add new global variable
141 (usage, long_options, main): Add new option "-y" / "--output-delaylib"
142 (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
143 how_dljtab_roff2, how_dljtab, trampoline.
144 (i386_dljtab): Add binary stub for x86 delay import.
145 (i386_trampoline): Add text assembly stub for x86 delay import.
146 (mtable): Add delay import data for M386 and MX86 only.
147 (make_delay_head): New function.
148 (make_one_lib_file): New arg delay creates delay-load import stub.
149 (gen_lib_file): New arg delay likewise.
150 (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
151 (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
152 (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
153 * NEWS: Mention new feature. Also fix whitespace.
154 * doc/binutils.texi: Updated dlltool documentation.
155
d3408916
TG
1562009-09-02 Tristan Gingold <gingold@adacore.com>
157
158 * configure.com: Do not copy makefile.vms-in to makefile.vms
159 * makefile.vms-in: Renamed to...
160 * makefile.vms: ... this usual name as it is not processed anymore.
161 Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
162 objdump.exe.
163
7bb7d81f
RW
1642009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
165
166 * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
167 (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
168 source file name for generated files which may be in $(srcdir).
169 * Makefile.in: Regenerate.
170
43123e98
L
1712009-09-01 H.J. Lu <hongjiu.lu@intel.com>
172
173 * version.c (print_version): Change to "Copyright 2009".
174
e06ae0d4
TG
1752009-09-01 Tristan Gingold <gingold@adacore.com>
176
177 * makefile.vms-in: Remove unused VERSION variable. Remove unused
178 dependencies.
179 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
180
d3ce72d0
NC
1812009-08-29 Martin Thuresson <martin@mtme.org>
182
183 * nlmconv.c (main): Rename variable new to new_name.
184
791f3971
L
1852009-08-28 H.J. Lu <hongjiu.lu@intel.com>
186
187 * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
188 CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
189 (syslex.o): Likewise.
190 (sysinfo.o): Likewise.
191 (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
192 * Makefile.in: Regenerated.
193
b96fec5e
DK
1942009-08-27 Dave Korn <dave.korn.cygwin@gmail.com>
195
196 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
197 (--subsystem): ... from here.
198
765abe2b
CC
1992009-08-24 Cary Coutant <ccoutant@google.com>
200
201 * objdump.c (find_symbol_for_address): Avoid costly call to
202 bfd_octets_per_byte.
203
a15af8e2
RW
2042009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
205
206 * Makefile.am (am__skiplex, am__skipyacc): New.
207 * Makefile.in: Regenerate.
208
61186d57
RW
2092009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
210
211 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
212 * Makefile.in: Regenerate.
213
81ecdfbb
RW
2142009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
215
14ec8efd
RW
216 * Makefile.am (AM_CPPFLAGS): Renamed from ...
217 (INCLUDES): ... this.
218 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
219 (installcheck-local): Renamed from ...
220 (installcheck): ... this.
221 * Makefile.in: Regenerate.
222
556274f9
RW
223 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
224 foreign.
225 (MKDEP, CLEANFILES): Remove now-unneeded variables.
226 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
227 (mkdep section): Remove.
228 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
229 (EXTRA_ar_SOURCES): New, list $(CFILES).
230 (syslex.o): Depend on syslex.c.
231 (sysinfo.o): Depend on sysinfo.c.
232 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
233 Remove dependencies, now tracked by automake.
234 (srconv.o): Depend on sysroff.c.
235 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
236 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
237 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
238 tracking rules; only list the dependency upon the primary source
239 file, but no included headers.
240 * Makefile.in: Regenerate.
241
af542c2e
RW
242 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
243 (install-html-recursive): Remove.
244 * Makefile.in: Regenerate.
245 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
246 (html__strip_dir, install-html, install-html-am): Remove.
247 * doc/Makefile.in: Regenerate.
248
81ecdfbb
RW
249 * Makefile.in: Regenerate.
250 * aclocal.m4: Likewise.
251 * config.in: Likewise.
252 * configure: Likewise.
253 * doc/Makefile.in: Likewise.
254
5fda8eca
NC
2552009-08-17 Nick Clifton <nickc@redhat.com>
256
257 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
258 32-bit absolute reloc for the purposes of processing debug
259 sections.
260
7f6fed87
NC
2612009-08-10 Daniel Gutson <dgutson@codesourcery.com>
262
263 * readelf.c (get_arm_section_type_name): Added support for
264 new sections headers.
265
92fac5ec
L
2662009-08-03 H.J. Lu <hongjiu.lu@intel.com>
267
268 PR binutils/10364
269 * objcopy.c (strip_main): Check return from smart_rename.
270 (copy_main): Likewise.
271
d2fcac5c
NC
2722009-07-27 Nick Clifton <nickc@redhat.com>
273
274 PR 10413
275 * objdump.c (dump_section_header): Skip sections that we are
276 ignoring.
277
8a9036a4
L
2782009-07-25 H.J. Lu <hongjiu.lu@intel.com>
279
280 * readelf.c (guess_is_rela): Handle EM_L1OM.
281 (dump_relocations): Likewise.
282 (get_machine_name): Likewise.
283 (get_section_type_name): Likewise.
284 (get_elf_section_flags): Likewise.
285 (get_symbol_index_type): Likewise.
286 (is_32bit_abs_reloc): Likewise.
287 (is_32bit_pcrel_reloc): Likewise.
288 (is_64bit_abs_reloc): Likewise.
289 (is_64bit_pcrel_reloc): Likewise.
290 (is_none_reloc): Likewise.
291
3e7a7d11
NC
2922009-07-23 Ulrich Drepper <drepper@redhat.com>
293
294 * readelf.c (get_symbol_binding): For Linux targeted files return
295 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
296 * doc/binutils.texi: Document the meaning of the 'u' symbol
297 binding in the output of nm and objdump --syms.
298
3dcb3fcb
L
2992009-07-20 H.J. Lu <hongjiu.lu@intel.com>
300
301 * NEWS: Mention --insn-width.
302
303 * objdump.c (insn_width): New.
304 (usage): Display --insn-width.
305 (option_values): Add OPTION_INSN_WIDTH.
306 (long_options): Add --insn-width.
307 (disassemble_bytes): Handle insn_width.
308 (main): Handle OPTION_INSN_WIDTH.
309
310 * doc/binutils.texi: Document --insn-width.
311
008f4c78
NC
3122009-07-17 Nick Clifton <nickc@redhat.com>
313
314 * dwarf.c (display_debug_lines): If do_debug_lines has not been
315 set then default to displaying raw .debug_line section contents.
316
01a8f077
JK
3172009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
318
319 Support unordered .debug_info references to .debug_ranges.
320 * dwarf.c (struct range_entry, range_entry_compar): New.
321 (display_debug_ranges): Remove variables last_offset, first, j,
322 seen_first_offset, use_debug_info and next. New variables
323 range_entries and range_entry_fill. Create the sorted copy
324 range_entries. Remove the FIXME error on detected unordered references.
325 * dwarf.h (debug_info <range_lists>): New comment.
326
1aa604e1
NC
3272009-07-14 Nick Clifton <nickc@redhat.com>
328
329 PR 10380
330 * README: Document use of LDFLAGS="--static".
331
8455dd2c
L
3322009-07-10 H.J. Lu <hongjiu.lu@intel.com>
333
334 * Makefile.am: Run "make dep-am".
335 * Makefile.in: Regenerated.
336
fa8f86ff
TT
3372009-07-10 Tom Tromey <tromey@redhat.com>
338
339 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
340 * Makefile.in: Rebuild.
341 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
342
c8450da8
TG
3432009-07-06 Tristan Gingold <gingold@adacore.com>
344
345 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
346 sections.
347 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
348 * dwarf.c (debug_displays): Adjust for removed field.
349
3244e8f5
JJ
3502009-07-03 Jakub Jelinek <jakub@redhat.com>
351
352 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
353 and DW_OP_implicit_value.
354
a87a00ea
NC
3552009-07-01 Nick Clifton <nickc@redhat.com>
356
357 PR 6714
358 * rclex.c (handle_quotes): Do not complain about whitespace
359 separating quoted strings.
360 (rclex_string): Ignore whitespace when looking for a new opening
361 quote following a closing quote.
362
52a476ee
L
3632009-06-27 H.J. Lu <hongjiu.lu@intel.com>
364
365 PR binutils/10321
366 * bucomm.c (get_file_size): Return -1 on error.
367
368 * objcopy.c (copy_file): Report empty file.
369
cf13d699
NC
3702009-06-23 Nick Clifton <nickc@redhat.com>
371
372 * dwarf.c (display_debug_lines_raw): Include the name of the
373 section in warning message.
374 (struct debug_display): Enable reloc processing for .debug_line
375 and .debug_ranges sections.
376
377 * readelf.c: Add --relocated-dump command line option to dump the
378 relocated contents of a specified section.
379 (request_dump): New function.
380 (parse_args): Use it.
381 (dump_section_as_bytes): Add parameter to indicate whether the
382 contents should be relocated.
383 (target_specific_reloc_handling): Add code for a R_MN10300_16
384 reloc found after a R_MN10300_SYM_DIFF reloc.
385 (debug_apply_relocations): Rename to apply_relocations.
386 (get_section_contents): New function. Replaces common code found
387 in dump_section_as_strings and dump_section_as_bytes.
388 * doc/binutils.texi: Document new command line option.
389 * NEWS: Mention the new feature.
390
98fb390a
NC
3912009-06-22 Nick Clifton <nickc@redhat.com>
392
393 * readelf.c (target_specific_reloc_handling): New function:
394 Processes relocs in a target specific manner.
395 (debug_apply_relocations): Use the new function.
396 * dwarf.c (display_debug_loc): End the dump with a blank line.
397 (struct debug_display): Enable reloc processing for .debug_aranges
398 and .debug_loc sections.
399
d46fc8e8
NC
4002009-06-19 Nick Clifton <nickc@redhat.com>
401
402 * ar.c (usage): Do not use #ifdef inside _("...).
403 * nm.c (usage): Likewise.
404
0313a2b8
NC
4052009-06-18 Nick Clifton <nickc@redhat.com>
406
407 PR 10288
408 * objdump.c (disassemble_bytes): Set the
409 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
410 if the user has invoked the -m switch.
411 * doc/binutils.texi: Document the additional behaviour of
412 objdump's -m switch for ARM targets.
413
361dff73
DK
4142009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
415
0313a2b8
NC
416 * configure.in: Merge cegcc and mingw32ce target name changes from
417 CeGCC project.
361dff73 418
0313a2b8 4192007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
420
421 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
422 * configure: Regenerate.
423
1316c8b3
NC
4242009-06-15 Nick Clifton <nickc@redhat.com>
425
426 PR 10263
427 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
428 the flags field of the disassemble_info structure if the -D switch
429 is in operation.
430
0e27a8f6
NC
4312009-06-12 Homer Xing <homer.xing@yahoo.com>
432
433 * NEWS: Mention new feature added to gprof.
434
f64fddf1
NC
4352009-06-12 John Reiser <jreiser@BitWagon.com>
436
437 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
438 freeing it and before returning.
439
d3a44ec6
JJ
4402009-06-12 Jakub Jelinek <jakub@redhat.com>
441
442 * readelf.c (process_symbol_table): Don't return early if
443 .hash/.gnu.hash is empty/unusable and not -D.
444
b882b028
NC
4452009-06-09 Tom Bramer <tjb@postpro.net>
446
447 PR 10165
448 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
449 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
450
e36aef42
AM
4512009-06-04 Alan Modra <amodra@bigpond.net.au>
452
453 * strings.c (main): Delay parsing of decimal digits.
454
4b9d2a99
AM
4552009-06-04 Alan Modra <amodra@bigpond.net.au>
456
457 * dep-in.sed: Don't use \n in replacement part of s command.
458 * Makefile.am (DEP1): LC_ALL for uniq.
459 Run "make dep-am".
460 * Makefile.in: Regenerate.
461
b517c9b6
TG
4622009-06-03 Tristan Gingold <gingold@adacore.com>
463
464 * MAINTAINERS: Add myself as Mach-O maintainer.
465
1533edfb
AM
4662009-06-01 Alan Modra <amodra@bigpond.net.au>
467
468 PR 10199
469 * doc/binutils.texi (nm): Correct -S description.
470
b662cd9e
NC
4712009-05-28 Nick Clifton <nickc@redhat.com>
472
473 * po/da.po: Updated Danish translation.
474
5dff79d8
NC
4752009-05-28 Nick Clifton <nickc@redhat.com>
476
477 * readelf.c (display_debug_section): Do not display debug sections
478 with the NOBITS section type.
479
fc579192
NC
4802009-05-27 Rafael Avila de Espindola <espindola@google.com>
481
482 * aclocal.m4: Include ../config/plugins.m4.
483 * configure.in: Use AC_PLUGINS.
484 * configure: Regenerate.
485 * Makefile.in: Regenerate.
486 * doc/Makefile.in: Regenerate.
487
4882009-05-27 Rafael Avila de Espindola <espindola@google.com>
489
490 * ar.c (main): Call bfd_plugin_set_program_name.
491 * nm.c (main): Call bfd_plugin_set_program_name.
492
3614867c
NS
4932009-05-27 Nathan Sidwell <nathan@codesourcery.com>
494
495 * sysdump.c (tab): Use puts rather than two printfs.
496
f12e7348
NC
4972009-05-26 Nick Clifton <nickc@redhat.com>
498
499 * po/id.po: Updated Indonesian translation.
500 * po/binutils.pot: Updated template file.
501
ce3c775b
NC
5022009-05-26 Rafael Avila de Espindola <espindola@google.com>
503
504 * ar.c: Include plugin.h.
505 (main): Handle the --plugin option.
506 * nm.c: Include plugin.h.
507 (OPTION_PLUGIN): New.
508 (long_options): Add plugin.
509 (main): Handle OPTION_PLUGIN.
510 * NEWS: Mention the new feature.
511 * doc/binutils: Documement the new command line options.
512 * configure.in: Check for --enable-plugins.
513 * configure: Regenerate.
514
00f3247a
AM
5152009-05-26 Alan Modra <amodra@bigpond.net.au>
516
517 * dep-in.sed: Output one filename per line with all lines having
518 continuation backslash. Prefix first line with "A", following
519 lines with "B".
520 * Makefile.am (DEP): Don't use dep.sed here.
521 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
522 sort and uniq.
523 * Makefile.in: Regenerate.
524
c5ac1056
TG
5252009-05-25 Tristan Gingold <gingold@adacore.com>
526
527 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
528
529 * configure.com: Fix it: handle alloca and define TARGET in config.h.
530
2b3decb5
AM
5312009-05-22 Alan Modra <amodra@bigpond.net.au>
532
533 * Makefile.am: Run "make dep-am".
534 * Makefile.in: Regenerate.
535
78e82dc3
AM
5362009-05-12 Alan Modra <amodra@bigpond.net.au>
537
538 * objcopy.c (set_long_section_mode): Check input_bfd is coff
539 before accessing coff specific fields of bfd.
540
57f6e0bc
DK
5412009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
542
543 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
544
34e8a6f7
KT
5452009-05-08 Kai Tietz <kai.tietz@onevision.com>
546
547 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
548 is defined, but not when __CYGWIN__ or _WIN32 are defined.
549 See wind_iconv_cp for call logic of this local funtion.
550
6f4c2146
NC
5512009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
552
553 PR 10109
554 * winduni.c: Replace test of HAVE_ICONV_H with a test of
555 HAVE_ICONV.
556 (iconv_onechar): Use ICONV_CONST instead of "const".
557 (wind_MultiByteToWideChar): Initialise local strings.
558
d8045f23
NC
5592009-04-30 Nick Clifton <nickc@redhat.com>
560
561 * readelf.c (dump_relocations): Display a relocation against an
562 ifunc symbol as if it were a function invocation.
563 (get_symbol_type): Handle STT_GNU_IFUNC.
564
43cd3ced
AG
5652009-04-29 Anthony Green <green@moxielogic.com>
566
567 * NEWS: Tweak verilog support description.
568
c6a0c689
AM
5692009-04-29 Alan Modra <amodra@bigpond.net.au>
570 Denis Scherbakov <denis_scherbakov@yahoo.com>
571
572 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
573 read, and merge with 32-bit case.
574
c067354b
NC
5752009-04-27 Anthony Green <green@moxielogic.com>
576
577 * NEWS: Mention verilog support added to bfd.
578
325c681d
L
5792009-04-27 H.J. Lu <hongjiu.lu@intel.com>
580
581 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
582 parameters.
583
ed4a4bdf
CC
5842009-04-24 Cary Coutant <ccoutant@google.com>
585
586 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
587 Add missing newlines to HP extensions.
588
d9118602
L
5892009-04-17 H.J. Lu <hongjiu.lu@intel.com>
590
591 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
592 * doc/binutils.texi: Likewise.
593
92dd4511
L
5942009-04-17 H.J. Lu <hongjiu.lu@intel.com>
595
596 PR binutils/10074
597 * objcopy.c: Include coff/i386.h and coff/pe.h.
598 (pe_file_alignment): New.
599 (pe_heap_commit): Likewise.
600 (pe_heap_reserve): Likewise.
601 (pe_image_base): Likewise.
602 (pe_section_alignment): Likewise.
603 (pe_stack_commit): Likewise.
604 (pe_stack_reserve): Likewise.
605 (pe_subsystem): Likewise.
606 (pe_major_subsystem_version): Likewise.
607 (pe_minor_subsystem_version): Likewise.
608 (set_pe_subsystem): Likewise.
609 (convert_efi_target): Likewise.
610 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
611 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
612 OPTION_STACK and OPTION_SUBSYSTEM.
613 (copy_options): Likewise.
614 (copy_usage): Add --file-alignment, --heap, --image-base,
615 --section-alignment, --stack and --subsystem.
616 (copy_object): Set up PE parameters.
617 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
618 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
619 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
620 PEI target.
621
622 * NEWS: Mention --file-alignment, --heap, --image-base,
623 --section-alignment, --stack and --subsystem command line
624 options for objcopy.
625
626 * doc/binutils.texi: Document --file-alignment, --heap,
627 --image-base, --section-alignment, --stack and --subsystem
628 command line options for objcopy.
629
20135e4c
NC
6302009-04-15 Anthony Green <green@moxielogic.com>
631
17eb60e9 632 * MAINTAINERS: Add myself as Moxie port maintainer.
20135e4c 633
0408dee6
DK
6342009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
635
636 * objcopy.c (enum long_section_name_handling): New enum type.
637 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
638 (copy_options[]): Add entry for --long-section-names option.
639 (copy_usage): Document it.
640 (set_long_section_mode): New subroutine.
641 (copy_file): Call it.
642 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
643 * doc/binutils.texi: Update objcopy documentation with details
644 of new option.
645
2fe50fe3
DK
6462009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
647
648 * dlltool.c (set_dll_name_from_def): Accept new second arg that
649 indicates if we are building DLL or EXE, and use it to add a
650 default suffix to the output filename when none is already present.
651 (def_name): Indicate we are building an EXE when calling it.
652 (def_library): Indicate we are building a DLL when calling it.
653
ffbe5983
NC
6542009-04-01 Jari Aalto <jari.aalto@cante.net>
655
656 PR 9972
657 * doc/binutils.texi (strings): Document the -V alias for the
658 --version option.
659 * strings.c (usage): Likewise.
660
e3525117
NC
6612009-03-31 Nick Clifton <nickc@redhat.com>
662
663 PR 9992
664 * configure.in: Import Solaris specific largefile test from
665 bfd/configure.in.
666 * configure: Regenerate.
667
93abc97a
RS
6682009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
669
670 * MAINTAINERS: Add self.
671
4a149252
NC
6722009-03-27 Nick Clifton <nickc@redhat.com>
673
674 * dwarf.c (display_debug_ranges): Add the base address to the
675 displayed values for 'Begin' and 'End'.
676
15ba6505
AM
6772009-03-25 Ryan Mansfield <rmansfield@qnx.com>
678
679 * readelf.c (process_file_header): Don't report a corrupt string
680 table index if it is zero.
681
665ce1f6
L
6822009-03-19 H.J. Lu <hongjiu.lu@intel.com>
683
684 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
685 (dwarf_regnames_count): Likewise.
686 (frame_need_space): Return int.
687 (display_debug_frames): Check invalid registers.
688
55f25fc3
L
6892009-03-19 H.J. Lu <hongjiu.lu@intel.com>
690
691 * readelf.c (debug_apply_relocations): Check relocations
692 against STT_SECTION symbol.
693
13e4f8ad
L
6942009-03-18 H.J. Lu <hongjiu.lu@intel.com>
695
696 * readelf.c (debug_apply_relocations): Allow relocations
697 against function symbols.
698
8d25cc3d
AM
6992009-03-18 Alan Modra <amodra@bigpond.net.au>
700
701 * sysdep.h: Include alloca-conf.h instead of config.h and remove
702 existing #if's handling alloca.
703 * Makefile.am: Run "make dep-am".
704 * Makefile.in: Regenerate.
705
e5231592
RS
7062009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
707
708 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
709 * configure.in: Likewise.
710 * configure: Regenerate.
711
3516e984
L
7122009-03-13 H.J. Lu <hongjiu.lu@intel.com>
713
714 PR binutils/9945
715 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
716
36e4dce6
CD
7172009-03-11 Chris Demetriou <cgd@google.com>
718
719 * ar.c (deterministic): New global variable.
720 (main): Recognize new 'D' option, which enables 'deterministic mode'.
721 (usage): Document new 'D' option.
722 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
723 flags if deterministic mode was requested.
724 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
725
0691f7af
L
7262009-03-09 H.J. Lu <hongjiu.lu@intel.com>
727
728 PR binutils/9933
729 * objcopy.c (filter_symbols): Properly handle common symbols
730 in relocatable file.
731
d11fd249
NC
7322009-03-06 Nick Clifton <nickc@redhat.com>
733
734 * po/es.po: Updated Spanish translation.
735
84d7b001
NC
7362009-03-05 Nick Clifton <nickc@redhat.com>
737
738 * objdump.c (disassemble_section): If the computed next offset is
739 not beyond the current offset then just continue to the end.
740
e7f990e2
TG
7412009-03-04 Tristan Gingold <gingold@adacore.com>
742
743 * MAINTAINERS: Add myself as VMS maintainer.
744
54b70fa3
NC
7452009-03-03 Nick Clifton <nickc@redhat.com>
746
747 * readelf.c: Update formatting.
748
a1f7ca36
AM
7492009-03-03 Alan Modra <amodra@bigpond.net.au>
750
751 * Makefile.am: Run "make dep-am".
752 * Makefile.in: Regenerate.
753
095ad3b8
AM
7542009-03-03 Alan Modra <amodra@bigpond.net.au>
755
756 * objdump.c (disassemble_section): Mask address before sign extending.
757
220df88b
NC
7582009-03-02 Sebastian Biallas <sb@biallas.net>
759
760 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
761 (parse_ieee_bb): Set the filename if it has not already been
762 discovered.
763
2cf0635d 7642009-03-02 Cary Coutant <ccoutant@google.com>
095ad3b8 765
2cf0635d
NC
766 * readelf.c (adjust_relative_path): New function.
767 (struct archive_info): New type.
768 (setup_archive): New function.
769 (release_archive): New function.
770 (setup_nested_archive): New function.
771 (get_archive_member_name): New function.
772 (get_archive_member_name_at): New function.
773 (make_qualified_name): New function.
774 (process_archive): Factor out code for reading archive index and
775 long filename table to setup_archive. Add support for thin archives.
776
c7c1befa
NC
7772009-03-02 Nick Clifton <nickc@redhat.com>
778
779 * po/sk.po: Updated Slovak translation.
780
58e24671
RW
7812009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
782
783 * configure: Regenerate.
784
7bcbeb0f
CC
7852009-02-23 Cary Coutant <ccoutant@google.com>
786
787 * objdump.c (load_specific_debug_section): New function, from
788 load_debug_section.
789 (load_debug_section): Use load_specific_debug_section.
790 (dump_dwarf_section): Likewise.
791
613ff48b
CC
7922009-02-23 Cary Coutant <ccoutant@google.com>
793
794 * readelf.c (parse_args): Select all sections explicitly for -w.
795
48b2f7b2
KT
7962009-02-09 Kai Tietz <kai.tietz@onevision.com>
797
798 * windres.c (set_endianess): Copy name without leading '-'.
799
4cb93e3b
TG
8002009-02-09 Tristan Gingold <gingold@adacore.com>
801
802 * NEWS: Mention feature match between objdump and readelf for dumping
803 dwarf info.
804
805 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
806 objdump.
807
808 * objdump.c (usage): Update documentation for -W/--dwarf.
809 (enum option_values): Add OPTION_DWARF.
810 (long_options): --dwarf can accept arguments.
811 (dump_dwarf_section): Also check enabled field.
812 (main): Option -W can accept arguments, code moved to
813 dwarf.c and call dwarf_select_sections_all instead.
814 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
815 (parse_args): Move code to...
816 * dwarf.c (dwarf_select_sections_by_letters,
817 dwarf_select_sections_by_names): : ...here (new functions).
818 (do_debug_lines_decoded): Remove and replaced by ...
819 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
820 (display_debug_lines): Adjust for previous change.
821 (dwarf_select_sections_all): New function.
822 (debug_displays): Add initializer for enabled field.
823 * dwarf.h (do_debug_lines_decoded): Remove.
824 Add prototypes for the new functions.
825 (struct dwarf_section_display): Add enabled field.
095ad3b8 826
dfb37fbf
NC
8272009-02-06 Nick Clifton <nickc@redhat.com>
828
829 * po/vi.po: Updated Vietnamese translation.
830
52b6b6b9
JM
8312009-02-03 Sandip Matte <sandip@rmicorp.com>
832
833 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
834
28024d9d
L
8352009-02-03 H.J. Lu <hongjiu.lu@intel.com>
836
837 * NEWS: Move --as-needed change to ...
838 * ../ld/NEWS: Here.
839
31dd3154
JM
8402009-02-03 Carlos O'Donell <carlos@codesourcery.com>
841
842 * configure.in: AC_SUBST pdfdir.
843 * Makefile.am: Add install-pdf, install-pdf-am,
844 and install-pdf-recursive targets.
845 * doc/Makefile.am: Define pdf__strip_dir. Add
846 install-pdf and install-pdf-am targets.
847 * po/Make-in: Add install-pdf target.
848 * configure: Regenerate.
849 * Makefile.in: Regenerate.
850 * doc/Makefile.in: Regenerate.
851
0dafdf3f
L
8522009-02-03 H.J. Lu <hongjiu.lu@intel.com>
853
854 PR binutils/9784
855 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
856
857 * doc/binutils.texi: Document --prefix=PREFIX and
858 --prefix-strip=LEVEL.
859
860 * objdump.c: Include "filenames.h".
861 (prefix): New.
862 (prefix_strip): Likewise.
863 (prefix_length): Likewise.
864 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
865 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
866 (long_options): Likewise.
867 (show_line): Handle prefix and prefix_strip.
868 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
869
870 * readelf.c (PATH_MAX): Moved to ...
871 * sysdep.h: Here.
872
010e5ae2
AM
8732009-01-31 Alan Modra <amodra@bigpond.net.au>
874
875 * NEWS: Mention --as-needed change.
876
8d8e0703
AM
8772009-01-29 Alan Modra <amodra@bigpond.net.au>
878
879 PR 9798
880 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
881 (bfd_get_archive_filename): Constify param.
882 * bucomm.h (bfd_get_archive_filename): Update prototype.
883 * objcopy.c (RETURN_NONFATAL): Delete.
884 (copy_unknown_object): Don't call bfd_get_archive_filename for
885 bfd_nonfatal_message filename, instead just pass bfd.
886 (copy_object): Likewise.
887 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
888 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
889 (setup_bfd_headers): Fix error message.
890
1b0adfe0
NC
8912009-01-27 Nick Clifton <nickc@redhat.com>
892
893 PR 9774
894 * objdump.c (disassemble_section): When the target uses signed
895 addresses make sure that we compute signed values.
896
9f04c329
NC
8972009-01-27 Nick Clifton <nickc@redhat.com>
898
899 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
900 maintainers.
901
2c2ce03f
NC
9022009-01-26 Nick Clifton <nickc@redhat.com>
903
904 PR 9766
905 * dlltool.c (xlate): When strip text after the @ sign, look for
906 the last one not the first one.
907
29670fb9
AM
9082009-01-16 Alan Modra <amodra@bigpond.net.au>
909
910 * configure.in (commonbfdlib): Delete.
911 * configure: Regenerate.
912
25893672
NC
9132008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
914
915 Cleanup code related to --identify option.
916
3f5e193b 917 * dlltool.c (file scope): Removed globals identify_ms,
25893672
NC
918 identify_member_contains_symname_result,
919 identify_dll_name_list_head, and identify_dll_name_list_tail.
920 Renamed existing typedef dll_name_list_type to
921 dll_name_list_node_type.
922 Added new typedefs dll_name_list_type, symname_search_data_type,
923 and identify_data_type.
924 (identify_append_dll_name_to_list): Renamed to...
925 (dll_name_list_append): ...here. Changed signature to accept list
926 argument rather than use global.
927 (identify_count_dll_name_list): Renamed to...
928 (dll_name_list_count): ...here. Changed signature to accept list
929 argument rather than use global.
930 (identify_print_dll_name_list): Renamed to...
931 (dll_name_list_print): ...here. Changed signature to accept list
932 argument rather than use global.
933 (identify_free_dll_name_list): Renamed to...
934 (dll_name_list_free_contents): ...here.
935 (dll_name_list_free): New function.
936 (dll_name_list_create): New function.
937 (identify_process_section_p): Changed signature to accept
938 ms_style_implib argument rather than use global.
939 (identify_member_contains_symname): Expect incoming void * data to
940 be symname_search_data_type.
941 (identify_dll_for_implib): Use new functions dll_name_list_create
942 and dll_name_list_free. Use new types symname_search_data_type
943 and identify_data_type to communicate with search routines.
944 (identify_search_section): Expect incoming void * data to be
945 identify_data_type. Use its contents rather than global
946 variables.
947
71c57c16
NC
9482009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
949
950 Add --identify-strict option. Handle ms-style implibs:
951
952 * dlltool.c (file scope): Added new globals identify_ms and
953 identify_strict. New typedef dll_name_list_type, and globals
954 identify_dll_name_list_head and identify_dll_name_list_tail. Added
955 new global identify_member_contains_symname_result.
956 (identify_append_dll_name_to_list): New function.
957 (identify_count_dll_name_list): New function.
958 (identify_print_dll_name_list): New function.
959 (identify_free_dll_name_list): New function.
960 (identify_search_archive): Changed signature to take function
961 pointer to operation to apply to each member, and data to pass on
962 to that function.
963 (identify_search_member): Changed signature to accept user data
964 from caller.
965 (identify_member_contains_symname): New function.
966 (identify_dll_for_implib): Rewrite. Now determines whether implib
967 is ms- or binutils- style, before searching sections for
095ad3b8 968 dllname. Allows multiple dllnames.
71c57c16
NC
969 (identify_process_section_p): Search alternate section for dllname
970 when implib is ms-style.
971 (identify_search_section): Add additional conditions to excludes
972 candidate sections from consideration.
973 (usage): Added --identify-strict.
974 (long_options): Added --identify-strict.
975 (main): Handle --identify-strict option.
976 * doc/binutils.texi: Document --identify-strict option.
977 * NEWS: Document --identify and --identify-strict options.
978
840b96a7
AM
9792009-01-13 Alan Modra <amodra@bigpond.net.au>
980
981 PR 7034
982 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
983
22f4bbf5
AM
9842009-01-13 Alan Modra <amodra@bigpond.net.au>
985
986 * objdump.c (disassemble_section): Don't assume non-instruction
987 data if object symbol at given address is in different section.
988
2ea2f3c6
KT
9892009-01-12 Kai Tietz <kai.tietz@onevision.com>
990
991 * dlltool.c (create_for_pep): New.
992 (flush_page): Use create_for_pep instead of using
993 macro DLLTOOL_MX86_64 clause.
994 (generate_idata_ofile): Likewise.
995 (make_one_lib_file): Likewise.
996 (make_head): Likewise.
997 (make_tail): Likewise.
998 (main): Initialize create_for_pep.
999
e77b97d4
KT
10002009-01-08 Kai Tietz <kai.tietz@onevision.com>
1001
1002 * dlltool.c (use_nul_prefixed_import_tables): New.
1003 (make_head): Make prefix leading zero prefix element for
1004 idata$4 and idata$5 dependent to new flag.
1005 (usage): Add new option --use-nul-prefixed-import-tables.
1006 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1007 (long_options): Add --use-nul-prefixed-import-tables.
1008 (main): Likewise.
1009 * doc/binutils.texi: Add new option documentation for
1010 --use-nul-prefixed-import-tables.
1011 * NEWS: Add new option.
1012
1069ad51 10132009-01-06 Kai Tietz <kai.tietz@onevision.com>
84e94c90 1014
1069ad51
KT
1015 * windres.c (set_endianess): Get architecture name
1016 for internal target names like "pe-arm-wince-little".
1017 (find_arch_match): New helper.
1018 * ChangeLog: Reset it.
1019 * ChangeLog-2008: Moved old ChangeLog.
84e94c90 1020
1069ad51 1021For older changes see ChangeLog-2008
252b5132
RH
1022\f
1023Local Variables:
1024mode: change-log
1025left-margin: 8
1026fill-column: 74
1027version-control: never
1028End:
This page took 0.434924 seconds and 4 git commands to generate.