Minor dependency fix for syslex.o in binutils.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2
3 * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
4 * Makefile.in: Regenerate.
5
6 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7
8 * Makefile.am (AM_CPPFLAGS): Renamed from ...
9 (INCLUDES): ... this.
10 (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
11 (installcheck-local): Renamed from ...
12 (installcheck): ... this.
13 * Makefile.in: Regenerate.
14
15 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
16 foreign.
17 (MKDEP, CLEANFILES): Remove now-unneeded variables.
18 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
19 (mkdep section): Remove.
20 (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
21 (EXTRA_ar_SOURCES): New, list $(CFILES).
22 (syslex.o): Depend on syslex.c.
23 (sysinfo.o): Depend on sysinfo.c.
24 (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
25 Remove dependencies, now tracked by automake.
26 (srconv.o): Depend on sysroff.c.
27 (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
28 (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
29 (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
30 tracking rules; only list the dependency upon the primary source
31 file, but no included headers.
32 * Makefile.in: Regenerate.
33
34 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
35 (install-html-recursive): Remove.
36 * Makefile.in: Regenerate.
37 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
38 (html__strip_dir, install-html, install-html-am): Remove.
39 * doc/Makefile.in: Regenerate.
40
41 * Makefile.in: Regenerate.
42 * aclocal.m4: Likewise.
43 * config.in: Likewise.
44 * configure: Likewise.
45 * doc/Makefile.in: Likewise.
46
47 2009-08-17 Nick Clifton <nickc@redhat.com>
48
49 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
50 32-bit absolute reloc for the purposes of processing debug
51 sections.
52
53 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
54
55 * readelf.c (get_arm_section_type_name): Added support for
56 new sections headers.
57
58 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
59
60 PR binutils/10364
61 * objcopy.c (strip_main): Check return from smart_rename.
62 (copy_main): Likewise.
63
64 2009-07-27 Nick Clifton <nickc@redhat.com>
65
66 PR 10413
67 * objdump.c (dump_section_header): Skip sections that we are
68 ignoring.
69
70 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
71
72 * readelf.c (guess_is_rela): Handle EM_L1OM.
73 (dump_relocations): Likewise.
74 (get_machine_name): Likewise.
75 (get_section_type_name): Likewise.
76 (get_elf_section_flags): Likewise.
77 (get_symbol_index_type): Likewise.
78 (is_32bit_abs_reloc): Likewise.
79 (is_32bit_pcrel_reloc): Likewise.
80 (is_64bit_abs_reloc): Likewise.
81 (is_64bit_pcrel_reloc): Likewise.
82 (is_none_reloc): Likewise.
83
84 2009-07-23 Ulrich Drepper <drepper@redhat.com>
85
86 * readelf.c (get_symbol_binding): For Linux targeted files return
87 UNIQUE for symbols with the STB_GNU_UNIQUE binding.
88 * doc/binutils.texi: Document the meaning of the 'u' symbol
89 binding in the output of nm and objdump --syms.
90
91 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
92
93 * NEWS: Mention --insn-width.
94
95 * objdump.c (insn_width): New.
96 (usage): Display --insn-width.
97 (option_values): Add OPTION_INSN_WIDTH.
98 (long_options): Add --insn-width.
99 (disassemble_bytes): Handle insn_width.
100 (main): Handle OPTION_INSN_WIDTH.
101
102 * doc/binutils.texi: Document --insn-width.
103
104 2009-07-17 Nick Clifton <nickc@redhat.com>
105
106 * dwarf.c (display_debug_lines): If do_debug_lines has not been
107 set then default to displaying raw .debug_line section contents.
108
109 2009-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
110
111 Support unordered .debug_info references to .debug_ranges.
112 * dwarf.c (struct range_entry, range_entry_compar): New.
113 (display_debug_ranges): Remove variables last_offset, first, j,
114 seen_first_offset, use_debug_info and next. New variables
115 range_entries and range_entry_fill. Create the sorted copy
116 range_entries. Remove the FIXME error on detected unordered references.
117 * dwarf.h (debug_info <range_lists>): New comment.
118
119 2009-07-14 Nick Clifton <nickc@redhat.com>
120
121 PR 10380
122 * README: Document use of LDFLAGS="--static".
123
124 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
125
126 * Makefile.am: Run "make dep-am".
127 * Makefile.in: Regenerated.
128
129 2009-07-10 Tom Tromey <tromey@redhat.com>
130
131 * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
132 * Makefile.in: Rebuild.
133 * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
134
135 2009-07-06 Tristan Gingold <gingold@adacore.com>
136
137 * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
138 sections.
139 * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
140 * dwarf.c (debug_displays): Adjust for removed field.
141
142 2009-07-03 Jakub Jelinek <jakub@redhat.com>
143
144 * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
145 and DW_OP_implicit_value.
146
147 2009-07-01 Nick Clifton <nickc@redhat.com>
148
149 PR 6714
150 * rclex.c (handle_quotes): Do not complain about whitespace
151 separating quoted strings.
152 (rclex_string): Ignore whitespace when looking for a new opening
153 quote following a closing quote.
154
155 2009-06-27 H.J. Lu <hongjiu.lu@intel.com>
156
157 PR binutils/10321
158 * bucomm.c (get_file_size): Return -1 on error.
159
160 * objcopy.c (copy_file): Report empty file.
161
162 2009-06-23 Nick Clifton <nickc@redhat.com>
163
164 * dwarf.c (display_debug_lines_raw): Include the name of the
165 section in warning message.
166 (struct debug_display): Enable reloc processing for .debug_line
167 and .debug_ranges sections.
168
169 * readelf.c: Add --relocated-dump command line option to dump the
170 relocated contents of a specified section.
171 (request_dump): New function.
172 (parse_args): Use it.
173 (dump_section_as_bytes): Add parameter to indicate whether the
174 contents should be relocated.
175 (target_specific_reloc_handling): Add code for a R_MN10300_16
176 reloc found after a R_MN10300_SYM_DIFF reloc.
177 (debug_apply_relocations): Rename to apply_relocations.
178 (get_section_contents): New function. Replaces common code found
179 in dump_section_as_strings and dump_section_as_bytes.
180 * doc/binutils.texi: Document new command line option.
181 * NEWS: Mention the new feature.
182
183 2009-06-22 Nick Clifton <nickc@redhat.com>
184
185 * readelf.c (target_specific_reloc_handling): New function:
186 Processes relocs in a target specific manner.
187 (debug_apply_relocations): Use the new function.
188 * dwarf.c (display_debug_loc): End the dump with a blank line.
189 (struct debug_display): Enable reloc processing for .debug_aranges
190 and .debug_loc sections.
191
192 2009-06-19 Nick Clifton <nickc@redhat.com>
193
194 * ar.c (usage): Do not use #ifdef inside _("...).
195 * nm.c (usage): Likewise.
196
197 2009-06-18 Nick Clifton <nickc@redhat.com>
198
199 PR 10288
200 * objdump.c (disassemble_bytes): Set the
201 USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
202 if the user has invoked the -m switch.
203 * doc/binutils.texi: Document the additional behaviour of
204 objdump's -m switch for ARM targets.
205
206 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
207
208 * configure.in: Merge cegcc and mingw32ce target name changes from
209 CeGCC project.
210
211 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
212
213 * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
214 * configure: Regenerate.
215
216 2009-06-15 Nick Clifton <nickc@redhat.com>
217
218 PR 10263
219 * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
220 the flags field of the disassemble_info structure if the -D switch
221 is in operation.
222
223 2009-06-12 Homer Xing <homer.xing@yahoo.com>
224
225 * NEWS: Mention new feature added to gprof.
226
227 2009-06-12 John Reiser <jreiser@BitWagon.com>
228
229 * readelf.c (process_symbol_table): Set gnubuckets to NULL after
230 freeing it and before returning.
231
232 2009-06-12 Jakub Jelinek <jakub@redhat.com>
233
234 * readelf.c (process_symbol_table): Don't return early if
235 .hash/.gnu.hash is empty/unusable and not -D.
236
237 2009-06-09 Tom Bramer <tjb@postpro.net>
238
239 PR 10165
240 * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
241 to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
242
243 2009-06-04 Alan Modra <amodra@bigpond.net.au>
244
245 * strings.c (main): Delay parsing of decimal digits.
246
247 2009-06-04 Alan Modra <amodra@bigpond.net.au>
248
249 * dep-in.sed: Don't use \n in replacement part of s command.
250 * Makefile.am (DEP1): LC_ALL for uniq.
251 Run "make dep-am".
252 * Makefile.in: Regenerate.
253
254 2009-06-03 Tristan Gingold <gingold@adacore.com>
255
256 * MAINTAINERS: Add myself as Mach-O maintainer.
257
258 2009-06-01 Alan Modra <amodra@bigpond.net.au>
259
260 PR 10199
261 * doc/binutils.texi (nm): Correct -S description.
262
263 2009-05-28 Nick Clifton <nickc@redhat.com>
264
265 * po/da.po: Updated Danish translation.
266
267 2009-05-28 Nick Clifton <nickc@redhat.com>
268
269 * readelf.c (display_debug_section): Do not display debug sections
270 with the NOBITS section type.
271
272 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
273
274 * aclocal.m4: Include ../config/plugins.m4.
275 * configure.in: Use AC_PLUGINS.
276 * configure: Regenerate.
277 * Makefile.in: Regenerate.
278 * doc/Makefile.in: Regenerate.
279
280 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
281
282 * ar.c (main): Call bfd_plugin_set_program_name.
283 * nm.c (main): Call bfd_plugin_set_program_name.
284
285 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
286
287 * sysdump.c (tab): Use puts rather than two printfs.
288
289 2009-05-26 Nick Clifton <nickc@redhat.com>
290
291 * po/id.po: Updated Indonesian translation.
292 * po/binutils.pot: Updated template file.
293
294 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
295
296 * ar.c: Include plugin.h.
297 (main): Handle the --plugin option.
298 * nm.c: Include plugin.h.
299 (OPTION_PLUGIN): New.
300 (long_options): Add plugin.
301 (main): Handle OPTION_PLUGIN.
302 * NEWS: Mention the new feature.
303 * doc/binutils: Documement the new command line options.
304 * configure.in: Check for --enable-plugins.
305 * configure: Regenerate.
306
307 2009-05-26 Alan Modra <amodra@bigpond.net.au>
308
309 * dep-in.sed: Output one filename per line with all lines having
310 continuation backslash. Prefix first line with "A", following
311 lines with "B".
312 * Makefile.am (DEP): Don't use dep.sed here.
313 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
314 sort and uniq.
315 * Makefile.in: Regenerate.
316
317 2009-05-25 Tristan Gingold <gingold@adacore.com>
318
319 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
320
321 * configure.com: Fix it: handle alloca and define TARGET in config.h.
322
323 2009-05-22 Alan Modra <amodra@bigpond.net.au>
324
325 * Makefile.am: Run "make dep-am".
326 * Makefile.in: Regenerate.
327
328 2009-05-12 Alan Modra <amodra@bigpond.net.au>
329
330 * objcopy.c (set_long_section_mode): Check input_bfd is coff
331 before accessing coff specific fields of bfd.
332
333 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
334
335 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
336
337 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
338
339 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
340 is defined, but not when __CYGWIN__ or _WIN32 are defined.
341 See wind_iconv_cp for call logic of this local funtion.
342
343 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
344
345 PR 10109
346 * winduni.c: Replace test of HAVE_ICONV_H with a test of
347 HAVE_ICONV.
348 (iconv_onechar): Use ICONV_CONST instead of "const".
349 (wind_MultiByteToWideChar): Initialise local strings.
350
351 2009-04-30 Nick Clifton <nickc@redhat.com>
352
353 * readelf.c (dump_relocations): Display a relocation against an
354 ifunc symbol as if it were a function invocation.
355 (get_symbol_type): Handle STT_GNU_IFUNC.
356
357 2009-04-29 Anthony Green <green@moxielogic.com>
358
359 * NEWS: Tweak verilog support description.
360
361 2009-04-29 Alan Modra <amodra@bigpond.net.au>
362 Denis Scherbakov <denis_scherbakov@yahoo.com>
363
364 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
365 read, and merge with 32-bit case.
366
367 2009-04-27 Anthony Green <green@moxielogic.com>
368
369 * NEWS: Mention verilog support added to bfd.
370
371 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
372
373 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
374 parameters.
375
376 2009-04-24 Cary Coutant <ccoutant@google.com>
377
378 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
379 Add missing newlines to HP extensions.
380
381 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
382
383 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
384 * doc/binutils.texi: Likewise.
385
386 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
387
388 PR binutils/10074
389 * objcopy.c: Include coff/i386.h and coff/pe.h.
390 (pe_file_alignment): New.
391 (pe_heap_commit): Likewise.
392 (pe_heap_reserve): Likewise.
393 (pe_image_base): Likewise.
394 (pe_section_alignment): Likewise.
395 (pe_stack_commit): Likewise.
396 (pe_stack_reserve): Likewise.
397 (pe_subsystem): Likewise.
398 (pe_major_subsystem_version): Likewise.
399 (pe_minor_subsystem_version): Likewise.
400 (set_pe_subsystem): Likewise.
401 (convert_efi_target): Likewise.
402 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
403 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
404 OPTION_STACK and OPTION_SUBSYSTEM.
405 (copy_options): Likewise.
406 (copy_usage): Add --file-alignment, --heap, --image-base,
407 --section-alignment, --stack and --subsystem.
408 (copy_object): Set up PE parameters.
409 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
410 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
411 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
412 PEI target.
413
414 * NEWS: Mention --file-alignment, --heap, --image-base,
415 --section-alignment, --stack and --subsystem command line
416 options for objcopy.
417
418 * doc/binutils.texi: Document --file-alignment, --heap,
419 --image-base, --section-alignment, --stack and --subsystem
420 command line options for objcopy.
421
422 2009-04-15 Anthony Green <green@moxielogic.com>
423
424 * MAINTAINERS: Add myself as Moxie port maintainer.
425
426 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
427
428 * objcopy.c (enum long_section_name_handling): New enum type.
429 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
430 (copy_options[]): Add entry for --long-section-names option.
431 (copy_usage): Document it.
432 (set_long_section_mode): New subroutine.
433 (copy_file): Call it.
434 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
435 * doc/binutils.texi: Update objcopy documentation with details
436 of new option.
437
438 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
439
440 * dlltool.c (set_dll_name_from_def): Accept new second arg that
441 indicates if we are building DLL or EXE, and use it to add a
442 default suffix to the output filename when none is already present.
443 (def_name): Indicate we are building an EXE when calling it.
444 (def_library): Indicate we are building a DLL when calling it.
445
446 2009-04-01 Jari Aalto <jari.aalto@cante.net>
447
448 PR 9972
449 * doc/binutils.texi (strings): Document the -V alias for the
450 --version option.
451 * strings.c (usage): Likewise.
452
453 2009-03-31 Nick Clifton <nickc@redhat.com>
454
455 PR 9992
456 * configure.in: Import Solaris specific largefile test from
457 bfd/configure.in.
458 * configure: Regenerate.
459
460 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
461
462 * MAINTAINERS: Add self.
463
464 2009-03-27 Nick Clifton <nickc@redhat.com>
465
466 * dwarf.c (display_debug_ranges): Add the base address to the
467 displayed values for 'Begin' and 'End'.
468
469 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
470
471 * readelf.c (process_file_header): Don't report a corrupt string
472 table index if it is zero.
473
474 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
475
476 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
477 (dwarf_regnames_count): Likewise.
478 (frame_need_space): Return int.
479 (display_debug_frames): Check invalid registers.
480
481 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
482
483 * readelf.c (debug_apply_relocations): Check relocations
484 against STT_SECTION symbol.
485
486 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
487
488 * readelf.c (debug_apply_relocations): Allow relocations
489 against function symbols.
490
491 2009-03-18 Alan Modra <amodra@bigpond.net.au>
492
493 * sysdep.h: Include alloca-conf.h instead of config.h and remove
494 existing #if's handling alloca.
495 * Makefile.am: Run "make dep-am".
496 * Makefile.in: Regenerate.
497
498 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
499
500 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
501 * configure.in: Likewise.
502 * configure: Regenerate.
503
504 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
505
506 PR binutils/9945
507 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
508
509 2009-03-11 Chris Demetriou <cgd@google.com>
510
511 * ar.c (deterministic): New global variable.
512 (main): Recognize new 'D' option, which enables 'deterministic mode'.
513 (usage): Document new 'D' option.
514 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
515 flags if deterministic mode was requested.
516 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
517
518 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
519
520 PR binutils/9933
521 * objcopy.c (filter_symbols): Properly handle common symbols
522 in relocatable file.
523
524 2009-03-06 Nick Clifton <nickc@redhat.com>
525
526 * po/es.po: Updated Spanish translation.
527
528 2009-03-05 Nick Clifton <nickc@redhat.com>
529
530 * objdump.c (disassemble_section): If the computed next offset is
531 not beyond the current offset then just continue to the end.
532
533 2009-03-04 Tristan Gingold <gingold@adacore.com>
534
535 * MAINTAINERS: Add myself as VMS maintainer.
536
537 2009-03-03 Nick Clifton <nickc@redhat.com>
538
539 * readelf.c: Update formatting.
540
541 2009-03-03 Alan Modra <amodra@bigpond.net.au>
542
543 * Makefile.am: Run "make dep-am".
544 * Makefile.in: Regenerate.
545
546 2009-03-03 Alan Modra <amodra@bigpond.net.au>
547
548 * objdump.c (disassemble_section): Mask address before sign extending.
549
550 2009-03-02 Sebastian Biallas <sb@biallas.net>
551
552 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
553 (parse_ieee_bb): Set the filename if it has not already been
554 discovered.
555
556 2009-03-02 Cary Coutant <ccoutant@google.com>
557
558 * readelf.c (adjust_relative_path): New function.
559 (struct archive_info): New type.
560 (setup_archive): New function.
561 (release_archive): New function.
562 (setup_nested_archive): New function.
563 (get_archive_member_name): New function.
564 (get_archive_member_name_at): New function.
565 (make_qualified_name): New function.
566 (process_archive): Factor out code for reading archive index and
567 long filename table to setup_archive. Add support for thin archives.
568
569 2009-03-02 Nick Clifton <nickc@redhat.com>
570
571 * po/sk.po: Updated Slovak translation.
572
573 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
574
575 * configure: Regenerate.
576
577 2009-02-23 Cary Coutant <ccoutant@google.com>
578
579 * objdump.c (load_specific_debug_section): New function, from
580 load_debug_section.
581 (load_debug_section): Use load_specific_debug_section.
582 (dump_dwarf_section): Likewise.
583
584 2009-02-23 Cary Coutant <ccoutant@google.com>
585
586 * readelf.c (parse_args): Select all sections explicitly for -w.
587
588 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
589
590 * windres.c (set_endianess): Copy name without leading '-'.
591
592 2009-02-09 Tristan Gingold <gingold@adacore.com>
593
594 * NEWS: Mention feature match between objdump and readelf for dumping
595 dwarf info.
596
597 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
598 objdump.
599
600 * objdump.c (usage): Update documentation for -W/--dwarf.
601 (enum option_values): Add OPTION_DWARF.
602 (long_options): --dwarf can accept arguments.
603 (dump_dwarf_section): Also check enabled field.
604 (main): Option -W can accept arguments, code moved to
605 dwarf.c and call dwarf_select_sections_all instead.
606 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
607 (parse_args): Move code to...
608 * dwarf.c (dwarf_select_sections_by_letters,
609 dwarf_select_sections_by_names): : ...here (new functions).
610 (do_debug_lines_decoded): Remove and replaced by ...
611 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
612 (display_debug_lines): Adjust for previous change.
613 (dwarf_select_sections_all): New function.
614 (debug_displays): Add initializer for enabled field.
615 * dwarf.h (do_debug_lines_decoded): Remove.
616 Add prototypes for the new functions.
617 (struct dwarf_section_display): Add enabled field.
618
619 2009-02-06 Nick Clifton <nickc@redhat.com>
620
621 * po/vi.po: Updated Vietnamese translation.
622
623 2009-02-03 Sandip Matte <sandip@rmicorp.com>
624
625 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
626
627 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
628
629 * NEWS: Move --as-needed change to ...
630 * ../ld/NEWS: Here.
631
632 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
633
634 * configure.in: AC_SUBST pdfdir.
635 * Makefile.am: Add install-pdf, install-pdf-am,
636 and install-pdf-recursive targets.
637 * doc/Makefile.am: Define pdf__strip_dir. Add
638 install-pdf and install-pdf-am targets.
639 * po/Make-in: Add install-pdf target.
640 * configure: Regenerate.
641 * Makefile.in: Regenerate.
642 * doc/Makefile.in: Regenerate.
643
644 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
645
646 PR binutils/9784
647 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
648
649 * doc/binutils.texi: Document --prefix=PREFIX and
650 --prefix-strip=LEVEL.
651
652 * objdump.c: Include "filenames.h".
653 (prefix): New.
654 (prefix_strip): Likewise.
655 (prefix_length): Likewise.
656 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
657 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
658 (long_options): Likewise.
659 (show_line): Handle prefix and prefix_strip.
660 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
661
662 * readelf.c (PATH_MAX): Moved to ...
663 * sysdep.h: Here.
664
665 2009-01-31 Alan Modra <amodra@bigpond.net.au>
666
667 * NEWS: Mention --as-needed change.
668
669 2009-01-29 Alan Modra <amodra@bigpond.net.au>
670
671 PR 9798
672 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
673 (bfd_get_archive_filename): Constify param.
674 * bucomm.h (bfd_get_archive_filename): Update prototype.
675 * objcopy.c (RETURN_NONFATAL): Delete.
676 (copy_unknown_object): Don't call bfd_get_archive_filename for
677 bfd_nonfatal_message filename, instead just pass bfd.
678 (copy_object): Likewise.
679 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
680 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
681 (setup_bfd_headers): Fix error message.
682
683 2009-01-27 Nick Clifton <nickc@redhat.com>
684
685 PR 9774
686 * objdump.c (disassemble_section): When the target uses signed
687 addresses make sure that we compute signed values.
688
689 2009-01-27 Nick Clifton <nickc@redhat.com>
690
691 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
692 maintainers.
693
694 2009-01-26 Nick Clifton <nickc@redhat.com>
695
696 PR 9766
697 * dlltool.c (xlate): When strip text after the @ sign, look for
698 the last one not the first one.
699
700 2009-01-16 Alan Modra <amodra@bigpond.net.au>
701
702 * configure.in (commonbfdlib): Delete.
703 * configure: Regenerate.
704
705 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
706
707 Cleanup code related to --identify option.
708
709 * binutils/dlltool.c (file scope): Removed globals identify_ms,
710 identify_member_contains_symname_result,
711 identify_dll_name_list_head, and identify_dll_name_list_tail.
712 Renamed existing typedef dll_name_list_type to
713 dll_name_list_node_type.
714 Added new typedefs dll_name_list_type, symname_search_data_type,
715 and identify_data_type.
716 (identify_append_dll_name_to_list): Renamed to...
717 (dll_name_list_append): ...here. Changed signature to accept list
718 argument rather than use global.
719 (identify_count_dll_name_list): Renamed to...
720 (dll_name_list_count): ...here. Changed signature to accept list
721 argument rather than use global.
722 (identify_print_dll_name_list): Renamed to...
723 (dll_name_list_print): ...here. Changed signature to accept list
724 argument rather than use global.
725 (identify_free_dll_name_list): Renamed to...
726 (dll_name_list_free_contents): ...here.
727 (dll_name_list_free): New function.
728 (dll_name_list_create): New function.
729 (identify_process_section_p): Changed signature to accept
730 ms_style_implib argument rather than use global.
731 (identify_member_contains_symname): Expect incoming void * data to
732 be symname_search_data_type.
733 (identify_dll_for_implib): Use new functions dll_name_list_create
734 and dll_name_list_free. Use new types symname_search_data_type
735 and identify_data_type to communicate with search routines.
736 (identify_search_section): Expect incoming void * data to be
737 identify_data_type. Use its contents rather than global
738 variables.
739
740 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
741
742 Add --identify-strict option. Handle ms-style implibs:
743
744 * dlltool.c (file scope): Added new globals identify_ms and
745 identify_strict. New typedef dll_name_list_type, and globals
746 identify_dll_name_list_head and identify_dll_name_list_tail. Added
747 new global identify_member_contains_symname_result.
748 (identify_append_dll_name_to_list): New function.
749 (identify_count_dll_name_list): New function.
750 (identify_print_dll_name_list): New function.
751 (identify_free_dll_name_list): New function.
752 (identify_search_archive): Changed signature to take function
753 pointer to operation to apply to each member, and data to pass on
754 to that function.
755 (identify_search_member): Changed signature to accept user data
756 from caller.
757 (identify_member_contains_symname): New function.
758 (identify_dll_for_implib): Rewrite. Now determines whether implib
759 is ms- or binutils- style, before searching sections for
760 dllname. Allows multiple dllnames.
761 (identify_process_section_p): Search alternate section for dllname
762 when implib is ms-style.
763 (identify_search_section): Add additional conditions to excludes
764 candidate sections from consideration.
765 (usage): Added --identify-strict.
766 (long_options): Added --identify-strict.
767 (main): Handle --identify-strict option.
768 * doc/binutils.texi: Document --identify-strict option.
769 * NEWS: Document --identify and --identify-strict options.
770
771 2009-01-13 Alan Modra <amodra@bigpond.net.au>
772
773 PR 7034
774 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
775
776 2009-01-13 Alan Modra <amodra@bigpond.net.au>
777
778 * objdump.c (disassemble_section): Don't assume non-instruction
779 data if object symbol at given address is in different section.
780
781 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
782
783 * dlltool.c (create_for_pep): New.
784 (flush_page): Use create_for_pep instead of using
785 macro DLLTOOL_MX86_64 clause.
786 (generate_idata_ofile): Likewise.
787 (make_one_lib_file): Likewise.
788 (make_head): Likewise.
789 (make_tail): Likewise.
790 (main): Initialize create_for_pep.
791
792 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
793
794 * dlltool.c (use_nul_prefixed_import_tables): New.
795 (make_head): Make prefix leading zero prefix element for
796 idata$4 and idata$5 dependent to new flag.
797 (usage): Add new option --use-nul-prefixed-import-tables.
798 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
799 (long_options): Add --use-nul-prefixed-import-tables.
800 (main): Likewise.
801 * doc/binutils.texi: Add new option documentation for
802 --use-nul-prefixed-import-tables.
803 * NEWS: Add new option.
804
805 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
806
807 * windres.c (set_endianess): Get architecture name
808 for internal target names like "pe-arm-wince-little".
809 (find_arch_match): New helper.
810 * ChangeLog: Reset it.
811 * ChangeLog-2008: Moved old ChangeLog.
812
813 For older changes see ChangeLog-2008
814 \f
815 Local Variables:
816 mode: change-log
817 left-margin: 8
818 fill-column: 74
819 version-control: never
820 End:
This page took 0.046699 seconds and 4 git commands to generate.