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