* dep-in.sed: Don't use \n in replacement part of s command.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2009-06-04 Alan Modra <amodra@bigpond.net.au>
2
3 * dep-in.sed: Don't use \n in replacement part of s command.
4 * Makefile.am (DEP1): LC_ALL for uniq.
5 Run "make dep-am".
6 * Makefile.in: Regenerate.
7
8 2009-06-03 Tristan Gingold <gingold@adacore.com>
9
10 * MAINTAINERS: Add myself as Mach-O maintainer.
11
12 2009-06-01 Alan Modra <amodra@bigpond.net.au>
13
14 PR 10199
15 * doc/binutils.texi (nm): Correct -S description.
16
17 2009-05-28 Nick Clifton <nickc@redhat.com>
18
19 * po/da.po: Updated Danish translation.
20
21 2009-05-28 Nick Clifton <nickc@redhat.com>
22
23 * readelf.c (display_debug_section): Do not display debug sections
24 with the NOBITS section type.
25
26 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
27
28 * aclocal.m4: Include ../config/plugins.m4.
29 * configure.in: Use AC_PLUGINS.
30 * configure: Regenerate.
31 * Makefile.in: Regenerate.
32 * doc/Makefile.in: Regenerate.
33
34 2009-05-27 Rafael Avila de Espindola <espindola@google.com>
35
36 * ar.c (main): Call bfd_plugin_set_program_name.
37 * nm.c (main): Call bfd_plugin_set_program_name.
38
39 2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
40
41 * sysdump.c (tab): Use puts rather than two printfs.
42
43 2009-05-26 Nick Clifton <nickc@redhat.com>
44
45 * po/id.po: Updated Indonesian translation.
46 * po/binutils.pot: Updated template file.
47
48 2009-05-26 Rafael Avila de Espindola <espindola@google.com>
49
50 * ar.c: Include plugin.h.
51 (main): Handle the --plugin option.
52 * nm.c: Include plugin.h.
53 (OPTION_PLUGIN): New.
54 (long_options): Add plugin.
55 (main): Handle OPTION_PLUGIN.
56 * NEWS: Mention the new feature.
57 * doc/binutils: Documement the new command line options.
58 * configure.in: Check for --enable-plugins.
59 * configure: Regenerate.
60
61 2009-05-26 Alan Modra <amodra@bigpond.net.au>
62
63 * dep-in.sed: Output one filename per line with all lines having
64 continuation backslash. Prefix first line with "A", following
65 lines with "B".
66 * Makefile.am (DEP): Don't use dep.sed here.
67 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
68 sort and uniq.
69 * Makefile.in: Regenerate.
70
71 2009-05-25 Tristan Gingold <gingold@adacore.com>
72
73 * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
74
75 * configure.com: Fix it: handle alloca and define TARGET in config.h.
76
77 2009-05-22 Alan Modra <amodra@bigpond.net.au>
78
79 * Makefile.am: Run "make dep-am".
80 * Makefile.in: Regenerate.
81
82 2009-05-12 Alan Modra <amodra@bigpond.net.au>
83
84 * objcopy.c (set_long_section_mode): Check input_bfd is coff
85 before accessing coff specific fields of bfd.
86
87 2009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
88
89 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
90
91 2009-05-08 Kai Tietz <kai.tietz@onevision.com>
92
93 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
94 is defined, but not when __CYGWIN__ or _WIN32 are defined.
95 See wind_iconv_cp for call logic of this local funtion.
96
97 2009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
98
99 PR 10109
100 * winduni.c: Replace test of HAVE_ICONV_H with a test of
101 HAVE_ICONV.
102 (iconv_onechar): Use ICONV_CONST instead of "const".
103 (wind_MultiByteToWideChar): Initialise local strings.
104
105 2009-04-30 Nick Clifton <nickc@redhat.com>
106
107 * readelf.c (dump_relocations): Display a relocation against an
108 ifunc symbol as if it were a function invocation.
109 (get_symbol_type): Handle STT_GNU_IFUNC.
110
111 2009-04-29 Anthony Green <green@moxielogic.com>
112
113 * NEWS: Tweak verilog support description.
114
115 2009-04-29 Alan Modra <amodra@bigpond.net.au>
116 Denis Scherbakov <denis_scherbakov@yahoo.com>
117
118 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
119 read, and merge with 32-bit case.
120
121 2009-04-27 Anthony Green <green@moxielogic.com>
122
123 * NEWS: Mention verilog support added to bfd.
124
125 2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
126
127 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
128 parameters.
129
130 2009-04-24 Cary Coutant <ccoutant@google.com>
131
132 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
133 Add missing newlines to HP extensions.
134
135 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
136
137 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
138 * doc/binutils.texi: Likewise.
139
140 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
141
142 PR binutils/10074
143 * objcopy.c: Include coff/i386.h and coff/pe.h.
144 (pe_file_alignment): New.
145 (pe_heap_commit): Likewise.
146 (pe_heap_reserve): Likewise.
147 (pe_image_base): Likewise.
148 (pe_section_alignment): Likewise.
149 (pe_stack_commit): Likewise.
150 (pe_stack_reserve): Likewise.
151 (pe_subsystem): Likewise.
152 (pe_major_subsystem_version): Likewise.
153 (pe_minor_subsystem_version): Likewise.
154 (set_pe_subsystem): Likewise.
155 (convert_efi_target): Likewise.
156 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
157 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
158 OPTION_STACK and OPTION_SUBSYSTEM.
159 (copy_options): Likewise.
160 (copy_usage): Add --file-alignment, --heap, --image-base,
161 --section-alignment, --stack and --subsystem.
162 (copy_object): Set up PE parameters.
163 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
164 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
165 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
166 PEI target.
167
168 * NEWS: Mention --file-alignment, --heap, --image-base,
169 --section-alignment, --stack and --subsystem command line
170 options for objcopy.
171
172 * doc/binutils.texi: Document --file-alignment, --heap,
173 --image-base, --section-alignment, --stack and --subsystem
174 command line options for objcopy.
175
176 2009-04-15 Anthony Green <green@moxielogic.com>
177
178 * MAINTAINERS: Add myself as Moxie port maintainer.
179
180 2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
181
182 * objcopy.c (enum long_section_name_handling): New enum type.
183 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
184 (copy_options[]): Add entry for --long-section-names option.
185 (copy_usage): Document it.
186 (set_long_section_mode): New subroutine.
187 (copy_file): Call it.
188 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
189 * doc/binutils.texi: Update objcopy documentation with details
190 of new option.
191
192 2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
193
194 * dlltool.c (set_dll_name_from_def): Accept new second arg that
195 indicates if we are building DLL or EXE, and use it to add a
196 default suffix to the output filename when none is already present.
197 (def_name): Indicate we are building an EXE when calling it.
198 (def_library): Indicate we are building a DLL when calling it.
199
200 2009-04-01 Jari Aalto <jari.aalto@cante.net>
201
202 PR 9972
203 * doc/binutils.texi (strings): Document the -V alias for the
204 --version option.
205 * strings.c (usage): Likewise.
206
207 2009-03-31 Nick Clifton <nickc@redhat.com>
208
209 PR 9992
210 * configure.in: Import Solaris specific largefile test from
211 bfd/configure.in.
212 * configure: Regenerate.
213
214 2009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
215
216 * MAINTAINERS: Add self.
217
218 2009-03-27 Nick Clifton <nickc@redhat.com>
219
220 * dwarf.c (display_debug_ranges): Add the base address to the
221 displayed values for 'Begin' and 'End'.
222
223 2009-03-25 Ryan Mansfield <rmansfield@qnx.com>
224
225 * readelf.c (process_file_header): Don't report a corrupt string
226 table index if it is zero.
227
228 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
229
230 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
231 (dwarf_regnames_count): Likewise.
232 (frame_need_space): Return int.
233 (display_debug_frames): Check invalid registers.
234
235 2009-03-19 H.J. Lu <hongjiu.lu@intel.com>
236
237 * readelf.c (debug_apply_relocations): Check relocations
238 against STT_SECTION symbol.
239
240 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
241
242 * readelf.c (debug_apply_relocations): Allow relocations
243 against function symbols.
244
245 2009-03-18 Alan Modra <amodra@bigpond.net.au>
246
247 * sysdep.h: Include alloca-conf.h instead of config.h and remove
248 existing #if's handling alloca.
249 * Makefile.am: Run "make dep-am".
250 * Makefile.in: Regenerate.
251
252 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
253
254 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
255 * configure.in: Likewise.
256 * configure: Regenerate.
257
258 2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
259
260 PR binutils/9945
261 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
262
263 2009-03-11 Chris Demetriou <cgd@google.com>
264
265 * ar.c (deterministic): New global variable.
266 (main): Recognize new 'D' option, which enables 'deterministic mode'.
267 (usage): Document new 'D' option.
268 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
269 flags if deterministic mode was requested.
270 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
271
272 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
273
274 PR binutils/9933
275 * objcopy.c (filter_symbols): Properly handle common symbols
276 in relocatable file.
277
278 2009-03-06 Nick Clifton <nickc@redhat.com>
279
280 * po/es.po: Updated Spanish translation.
281
282 2009-03-05 Nick Clifton <nickc@redhat.com>
283
284 * objdump.c (disassemble_section): If the computed next offset is
285 not beyond the current offset then just continue to the end.
286
287 2009-03-04 Tristan Gingold <gingold@adacore.com>
288
289 * MAINTAINERS: Add myself as VMS maintainer.
290
291 2009-03-03 Nick Clifton <nickc@redhat.com>
292
293 * readelf.c: Update formatting.
294
295 2009-03-03 Alan Modra <amodra@bigpond.net.au>
296
297 * Makefile.am: Run "make dep-am".
298 * Makefile.in: Regenerate.
299
300 2009-03-03 Alan Modra <amodra@bigpond.net.au>
301
302 * objdump.c (disassemble_section): Mask address before sign extending.
303
304 2009-03-02 Sebastian Biallas <sb@biallas.net>
305
306 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
307 (parse_ieee_bb): Set the filename if it has not already been
308 discovered.
309
310 2009-03-02 Cary Coutant <ccoutant@google.com>
311
312 * readelf.c (adjust_relative_path): New function.
313 (struct archive_info): New type.
314 (setup_archive): New function.
315 (release_archive): New function.
316 (setup_nested_archive): New function.
317 (get_archive_member_name): New function.
318 (get_archive_member_name_at): New function.
319 (make_qualified_name): New function.
320 (process_archive): Factor out code for reading archive index and
321 long filename table to setup_archive. Add support for thin archives.
322
323 2009-03-02 Nick Clifton <nickc@redhat.com>
324
325 * po/sk.po: Updated Slovak translation.
326
327 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
328
329 * configure: Regenerate.
330
331 2009-02-23 Cary Coutant <ccoutant@google.com>
332
333 * objdump.c (load_specific_debug_section): New function, from
334 load_debug_section.
335 (load_debug_section): Use load_specific_debug_section.
336 (dump_dwarf_section): Likewise.
337
338 2009-02-23 Cary Coutant <ccoutant@google.com>
339
340 * readelf.c (parse_args): Select all sections explicitly for -w.
341
342 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
343
344 * windres.c (set_endianess): Copy name without leading '-'.
345
346 2009-02-09 Tristan Gingold <gingold@adacore.com>
347
348 * NEWS: Mention feature match between objdump and readelf for dumping
349 dwarf info.
350
351 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
352 objdump.
353
354 * objdump.c (usage): Update documentation for -W/--dwarf.
355 (enum option_values): Add OPTION_DWARF.
356 (long_options): --dwarf can accept arguments.
357 (dump_dwarf_section): Also check enabled field.
358 (main): Option -W can accept arguments, code moved to
359 dwarf.c and call dwarf_select_sections_all instead.
360 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
361 (parse_args): Move code to...
362 * dwarf.c (dwarf_select_sections_by_letters,
363 dwarf_select_sections_by_names): : ...here (new functions).
364 (do_debug_lines_decoded): Remove and replaced by ...
365 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
366 (display_debug_lines): Adjust for previous change.
367 (dwarf_select_sections_all): New function.
368 (debug_displays): Add initializer for enabled field.
369 * dwarf.h (do_debug_lines_decoded): Remove.
370 Add prototypes for the new functions.
371 (struct dwarf_section_display): Add enabled field.
372
373 2009-02-06 Nick Clifton <nickc@redhat.com>
374
375 * po/vi.po: Updated Vietnamese translation.
376
377 2009-02-03 Sandip Matte <sandip@rmicorp.com>
378
379 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
380
381 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
382
383 * NEWS: Move --as-needed change to ...
384 * ../ld/NEWS: Here.
385
386 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
387
388 * configure.in: AC_SUBST pdfdir.
389 * Makefile.am: Add install-pdf, install-pdf-am,
390 and install-pdf-recursive targets.
391 * doc/Makefile.am: Define pdf__strip_dir. Add
392 install-pdf and install-pdf-am targets.
393 * po/Make-in: Add install-pdf target.
394 * configure: Regenerate.
395 * Makefile.in: Regenerate.
396 * doc/Makefile.in: Regenerate.
397
398 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
399
400 PR binutils/9784
401 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
402
403 * doc/binutils.texi: Document --prefix=PREFIX and
404 --prefix-strip=LEVEL.
405
406 * objdump.c: Include "filenames.h".
407 (prefix): New.
408 (prefix_strip): Likewise.
409 (prefix_length): Likewise.
410 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
411 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
412 (long_options): Likewise.
413 (show_line): Handle prefix and prefix_strip.
414 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
415
416 * readelf.c (PATH_MAX): Moved to ...
417 * sysdep.h: Here.
418
419 2009-01-31 Alan Modra <amodra@bigpond.net.au>
420
421 * NEWS: Mention --as-needed change.
422
423 2009-01-29 Alan Modra <amodra@bigpond.net.au>
424
425 PR 9798
426 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
427 (bfd_get_archive_filename): Constify param.
428 * bucomm.h (bfd_get_archive_filename): Update prototype.
429 * objcopy.c (RETURN_NONFATAL): Delete.
430 (copy_unknown_object): Don't call bfd_get_archive_filename for
431 bfd_nonfatal_message filename, instead just pass bfd.
432 (copy_object): Likewise.
433 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
434 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
435 (setup_bfd_headers): Fix error message.
436
437 2009-01-27 Nick Clifton <nickc@redhat.com>
438
439 PR 9774
440 * objdump.c (disassemble_section): When the target uses signed
441 addresses make sure that we compute signed values.
442
443 2009-01-27 Nick Clifton <nickc@redhat.com>
444
445 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
446 maintainers.
447
448 2009-01-26 Nick Clifton <nickc@redhat.com>
449
450 PR 9766
451 * dlltool.c (xlate): When strip text after the @ sign, look for
452 the last one not the first one.
453
454 2009-01-16 Alan Modra <amodra@bigpond.net.au>
455
456 * configure.in (commonbfdlib): Delete.
457 * configure: Regenerate.
458
459 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
460
461 Cleanup code related to --identify option.
462
463 * binutils/dlltool.c (file scope): Removed globals identify_ms,
464 identify_member_contains_symname_result,
465 identify_dll_name_list_head, and identify_dll_name_list_tail.
466 Renamed existing typedef dll_name_list_type to
467 dll_name_list_node_type.
468 Added new typedefs dll_name_list_type, symname_search_data_type,
469 and identify_data_type.
470 (identify_append_dll_name_to_list): Renamed to...
471 (dll_name_list_append): ...here. Changed signature to accept list
472 argument rather than use global.
473 (identify_count_dll_name_list): Renamed to...
474 (dll_name_list_count): ...here. Changed signature to accept list
475 argument rather than use global.
476 (identify_print_dll_name_list): Renamed to...
477 (dll_name_list_print): ...here. Changed signature to accept list
478 argument rather than use global.
479 (identify_free_dll_name_list): Renamed to...
480 (dll_name_list_free_contents): ...here.
481 (dll_name_list_free): New function.
482 (dll_name_list_create): New function.
483 (identify_process_section_p): Changed signature to accept
484 ms_style_implib argument rather than use global.
485 (identify_member_contains_symname): Expect incoming void * data to
486 be symname_search_data_type.
487 (identify_dll_for_implib): Use new functions dll_name_list_create
488 and dll_name_list_free. Use new types symname_search_data_type
489 and identify_data_type to communicate with search routines.
490 (identify_search_section): Expect incoming void * data to be
491 identify_data_type. Use its contents rather than global
492 variables.
493
494 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
495
496 Add --identify-strict option. Handle ms-style implibs:
497
498 * dlltool.c (file scope): Added new globals identify_ms and
499 identify_strict. New typedef dll_name_list_type, and globals
500 identify_dll_name_list_head and identify_dll_name_list_tail. Added
501 new global identify_member_contains_symname_result.
502 (identify_append_dll_name_to_list): New function.
503 (identify_count_dll_name_list): New function.
504 (identify_print_dll_name_list): New function.
505 (identify_free_dll_name_list): New function.
506 (identify_search_archive): Changed signature to take function
507 pointer to operation to apply to each member, and data to pass on
508 to that function.
509 (identify_search_member): Changed signature to accept user data
510 from caller.
511 (identify_member_contains_symname): New function.
512 (identify_dll_for_implib): Rewrite. Now determines whether implib
513 is ms- or binutils- style, before searching sections for
514 dllname. Allows multiple dllnames.
515 (identify_process_section_p): Search alternate section for dllname
516 when implib is ms-style.
517 (identify_search_section): Add additional conditions to excludes
518 candidate sections from consideration.
519 (usage): Added --identify-strict.
520 (long_options): Added --identify-strict.
521 (main): Handle --identify-strict option.
522 * doc/binutils.texi: Document --identify-strict option.
523 * NEWS: Document --identify and --identify-strict options.
524
525 2009-01-13 Alan Modra <amodra@bigpond.net.au>
526
527 PR 7034
528 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
529
530 2009-01-13 Alan Modra <amodra@bigpond.net.au>
531
532 * objdump.c (disassemble_section): Don't assume non-instruction
533 data if object symbol at given address is in different section.
534
535 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
536
537 * dlltool.c (create_for_pep): New.
538 (flush_page): Use create_for_pep instead of using
539 macro DLLTOOL_MX86_64 clause.
540 (generate_idata_ofile): Likewise.
541 (make_one_lib_file): Likewise.
542 (make_head): Likewise.
543 (make_tail): Likewise.
544 (main): Initialize create_for_pep.
545
546 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
547
548 * dlltool.c (use_nul_prefixed_import_tables): New.
549 (make_head): Make prefix leading zero prefix element for
550 idata$4 and idata$5 dependent to new flag.
551 (usage): Add new option --use-nul-prefixed-import-tables.
552 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
553 (long_options): Add --use-nul-prefixed-import-tables.
554 (main): Likewise.
555 * doc/binutils.texi: Add new option documentation for
556 --use-nul-prefixed-import-tables.
557 * NEWS: Add new option.
558
559 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
560
561 * windres.c (set_endianess): Get architecture name
562 for internal target names like "pe-arm-wince-little".
563 (find_arch_match): New helper.
564 * ChangeLog: Reset it.
565 * ChangeLog-2008: Moved old ChangeLog.
566
567 For older changes see ChangeLog-2008
568 \f
569 Local Variables:
570 mode: change-log
571 left-margin: 8
572 fill-column: 74
573 version-control: never
574 End:
This page took 0.041456 seconds and 5 git commands to generate.