* c-lang.c (print_wchar): Convert w into a gdb_wchar_t before
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
57f6e0bc
DK
12009-05-09 Dave Korn <dave.korn.cygwin@gmail.com>
2
3 * MAINTAINERS: Add myself as PE/COFF co-maintainer.
4
34e8a6f7
KT
52009-05-08 Kai Tietz <kai.tietz@onevision.com>
6
7 * winduni.c (iconv_onechar): Only define when HAVE_ICONV
8 is defined, but not when __CYGWIN__ or _WIN32 are defined.
9 See wind_iconv_cp for call logic of this local funtion.
10
6f4c2146
NC
112009-05-05 Guillaume Duhamel <guillaume.duhamel@gmail.com>
12
13 PR 10109
14 * winduni.c: Replace test of HAVE_ICONV_H with a test of
15 HAVE_ICONV.
16 (iconv_onechar): Use ICONV_CONST instead of "const".
17 (wind_MultiByteToWideChar): Initialise local strings.
18
d8045f23
NC
192009-04-30 Nick Clifton <nickc@redhat.com>
20
21 * readelf.c (dump_relocations): Display a relocation against an
22 ifunc symbol as if it were a function invocation.
23 (get_symbol_type): Handle STT_GNU_IFUNC.
24
43cd3ced
AG
252009-04-29 Anthony Green <green@moxielogic.com>
26
27 * NEWS: Tweak verilog support description.
28
c6a0c689
AM
292009-04-29 Alan Modra <amodra@bigpond.net.au>
30 Denis Scherbakov <denis_scherbakov@yahoo.com>
31
32 * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
33 read, and merge with 32-bit case.
34
c067354b
NC
352009-04-27 Anthony Green <green@moxielogic.com>
36
37 * NEWS: Mention verilog support added to bfd.
38
325c681d
L
392009-04-27 H.J. Lu <hongjiu.lu@intel.com>
40
41 * objcopy.c (copy_object): Copy pe_opthdr before changing PE
42 parameters.
43
ed4a4bdf
CC
442009-04-24 Cary Coutant <ccoutant@google.com>
45
46 * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
47 Add missing newlines to HP extensions.
48
d9118602
L
492009-04-17 H.J. Lu <hongjiu.lu@intel.com>
50
51 * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
52 * doc/binutils.texi: Likewise.
53
92dd4511
L
542009-04-17 H.J. Lu <hongjiu.lu@intel.com>
55
56 PR binutils/10074
57 * objcopy.c: Include coff/i386.h and coff/pe.h.
58 (pe_file_alignment): New.
59 (pe_heap_commit): Likewise.
60 (pe_heap_reserve): Likewise.
61 (pe_image_base): Likewise.
62 (pe_section_alignment): Likewise.
63 (pe_stack_commit): Likewise.
64 (pe_stack_reserve): Likewise.
65 (pe_subsystem): Likewise.
66 (pe_major_subsystem_version): Likewise.
67 (pe_minor_subsystem_version): Likewise.
68 (set_pe_subsystem): Likewise.
69 (convert_efi_target): Likewise.
70 (command_line_switch): Add OPTION_FILE_ALIGNMENT,
71 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
72 OPTION_STACK and OPTION_SUBSYSTEM.
73 (copy_options): Likewise.
74 (copy_usage): Add --file-alignment, --heap, --image-base,
75 --section-alignment, --stack and --subsystem.
76 (copy_object): Set up PE parameters.
77 (copy_main): Process Add OPTION_FILE_ALIGNMENT,
78 OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
79 OPTION_STACK and OPTION_SUBSYSTEM. Convert EFI target to
80 PEI target.
81
82 * NEWS: Mention --file-alignment, --heap, --image-base,
83 --section-alignment, --stack and --subsystem command line
84 options for objcopy.
85
86 * doc/binutils.texi: Document --file-alignment, --heap,
87 --image-base, --section-alignment, --stack and --subsystem
88 command line options for objcopy.
89
20135e4c
NC
902009-04-15 Anthony Green <green@moxielogic.com>
91
17eb60e9 92 * MAINTAINERS: Add myself as Moxie port maintainer.
20135e4c 93
0408dee6
DK
942009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
95
96 * objcopy.c (enum long_section_name_handling): New enum type.
97 (enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
98 (copy_options[]): Add entry for --long-section-names option.
99 (copy_usage): Document it.
100 (set_long_section_mode): New subroutine.
101 (copy_file): Call it.
102 (copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
103 * doc/binutils.texi: Update objcopy documentation with details
104 of new option.
105
2fe50fe3
DK
1062009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
107
108 * dlltool.c (set_dll_name_from_def): Accept new second arg that
109 indicates if we are building DLL or EXE, and use it to add a
110 default suffix to the output filename when none is already present.
111 (def_name): Indicate we are building an EXE when calling it.
112 (def_library): Indicate we are building a DLL when calling it.
113
ffbe5983
NC
1142009-04-01 Jari Aalto <jari.aalto@cante.net>
115
116 PR 9972
117 * doc/binutils.texi (strings): Document the -V alias for the
118 --version option.
119 * strings.c (usage): Likewise.
120
e3525117
NC
1212009-03-31 Nick Clifton <nickc@redhat.com>
122
123 PR 9992
124 * configure.in: Import Solaris specific largefile test from
125 bfd/configure.in.
126 * configure: Regenerate.
127
93abc97a
RS
1282009-03-30 Richard Sandiford <rdsandiford@googlemail.com>
129
130 * MAINTAINERS: Add self.
131
4a149252
NC
1322009-03-27 Nick Clifton <nickc@redhat.com>
133
134 * dwarf.c (display_debug_ranges): Add the base address to the
135 displayed values for 'Begin' and 'End'.
136
15ba6505
AM
1372009-03-25 Ryan Mansfield <rmansfield@qnx.com>
138
139 * readelf.c (process_file_header): Don't report a corrupt string
140 table index if it is zero.
141
665ce1f6
L
1422009-03-19 H.J. Lu <hongjiu.lu@intel.com>
143
144 * dwarf.c (dwarf_regnames): Moved before frame_need_space.
145 (dwarf_regnames_count): Likewise.
146 (frame_need_space): Return int.
147 (display_debug_frames): Check invalid registers.
148
55f25fc3
L
1492009-03-19 H.J. Lu <hongjiu.lu@intel.com>
150
151 * readelf.c (debug_apply_relocations): Check relocations
152 against STT_SECTION symbol.
153
13e4f8ad
L
1542009-03-18 H.J. Lu <hongjiu.lu@intel.com>
155
156 * readelf.c (debug_apply_relocations): Allow relocations
157 against function symbols.
158
8d25cc3d
AM
1592009-03-18 Alan Modra <amodra@bigpond.net.au>
160
161 * sysdep.h: Include alloca-conf.h instead of config.h and remove
162 existing #if's handling alloca.
163 * Makefile.am: Run "make dep-am".
164 * Makefile.in: Regenerate.
165
e5231592
RS
1662009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
167
168 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
169 * configure.in: Likewise.
170 * configure: Regenerate.
171
3516e984
L
1722009-03-13 H.J. Lu <hongjiu.lu@intel.com>
173
174 PR binutils/9945
175 * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
176
36e4dce6
CD
1772009-03-11 Chris Demetriou <cgd@google.com>
178
179 * ar.c (deterministic): New global variable.
180 (main): Recognize new 'D' option, which enables 'deterministic mode'.
181 (usage): Document new 'D' option.
182 (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
183 flags if deterministic mode was requested.
184 * doc/binutils.texi (ar): Document deterministic mode ('D' option).
185
0691f7af
L
1862009-03-09 H.J. Lu <hongjiu.lu@intel.com>
187
188 PR binutils/9933
189 * objcopy.c (filter_symbols): Properly handle common symbols
190 in relocatable file.
191
d11fd249
NC
1922009-03-06 Nick Clifton <nickc@redhat.com>
193
194 * po/es.po: Updated Spanish translation.
195
84d7b001
NC
1962009-03-05 Nick Clifton <nickc@redhat.com>
197
198 * objdump.c (disassemble_section): If the computed next offset is
199 not beyond the current offset then just continue to the end.
200
e7f990e2
TG
2012009-03-04 Tristan Gingold <gingold@adacore.com>
202
203 * MAINTAINERS: Add myself as VMS maintainer.
204
54b70fa3
NC
2052009-03-03 Nick Clifton <nickc@redhat.com>
206
207 * readelf.c: Update formatting.
208
a1f7ca36
AM
2092009-03-03 Alan Modra <amodra@bigpond.net.au>
210
211 * Makefile.am: Run "make dep-am".
212 * Makefile.in: Regenerate.
213
095ad3b8
AM
2142009-03-03 Alan Modra <amodra@bigpond.net.au>
215
216 * objdump.c (disassemble_section): Mask address before sign extending.
217
220df88b
NC
2182009-03-02 Sebastian Biallas <sb@biallas.net>
219
220 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
221 (parse_ieee_bb): Set the filename if it has not already been
222 discovered.
223
2cf0635d 2242009-03-02 Cary Coutant <ccoutant@google.com>
095ad3b8 225
2cf0635d
NC
226 * readelf.c (adjust_relative_path): New function.
227 (struct archive_info): New type.
228 (setup_archive): New function.
229 (release_archive): New function.
230 (setup_nested_archive): New function.
231 (get_archive_member_name): New function.
232 (get_archive_member_name_at): New function.
233 (make_qualified_name): New function.
234 (process_archive): Factor out code for reading archive index and
235 long filename table to setup_archive. Add support for thin archives.
236
c7c1befa
NC
2372009-03-02 Nick Clifton <nickc@redhat.com>
238
239 * po/sk.po: Updated Slovak translation.
240
58e24671
RW
2412009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
242
243 * configure: Regenerate.
244
7bcbeb0f
CC
2452009-02-23 Cary Coutant <ccoutant@google.com>
246
247 * objdump.c (load_specific_debug_section): New function, from
248 load_debug_section.
249 (load_debug_section): Use load_specific_debug_section.
250 (dump_dwarf_section): Likewise.
251
613ff48b
CC
2522009-02-23 Cary Coutant <ccoutant@google.com>
253
254 * readelf.c (parse_args): Select all sections explicitly for -w.
255
48b2f7b2
KT
2562009-02-09 Kai Tietz <kai.tietz@onevision.com>
257
258 * windres.c (set_endianess): Copy name without leading '-'.
259
4cb93e3b
TG
2602009-02-09 Tristan Gingold <gingold@adacore.com>
261
262 * NEWS: Mention feature match between objdump and readelf for dumping
263 dwarf info.
264
265 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
266 objdump.
267
268 * objdump.c (usage): Update documentation for -W/--dwarf.
269 (enum option_values): Add OPTION_DWARF.
270 (long_options): --dwarf can accept arguments.
271 (dump_dwarf_section): Also check enabled field.
272 (main): Option -W can accept arguments, code moved to
273 dwarf.c and call dwarf_select_sections_all instead.
274 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
275 (parse_args): Move code to...
276 * dwarf.c (dwarf_select_sections_by_letters,
277 dwarf_select_sections_by_names): : ...here (new functions).
278 (do_debug_lines_decoded): Remove and replaced by ...
279 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
280 (display_debug_lines): Adjust for previous change.
281 (dwarf_select_sections_all): New function.
282 (debug_displays): Add initializer for enabled field.
283 * dwarf.h (do_debug_lines_decoded): Remove.
284 Add prototypes for the new functions.
285 (struct dwarf_section_display): Add enabled field.
095ad3b8 286
dfb37fbf
NC
2872009-02-06 Nick Clifton <nickc@redhat.com>
288
289 * po/vi.po: Updated Vietnamese translation.
290
52b6b6b9
JM
2912009-02-03 Sandip Matte <sandip@rmicorp.com>
292
293 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
294
28024d9d
L
2952009-02-03 H.J. Lu <hongjiu.lu@intel.com>
296
297 * NEWS: Move --as-needed change to ...
298 * ../ld/NEWS: Here.
299
31dd3154
JM
3002009-02-03 Carlos O'Donell <carlos@codesourcery.com>
301
302 * configure.in: AC_SUBST pdfdir.
303 * Makefile.am: Add install-pdf, install-pdf-am,
304 and install-pdf-recursive targets.
305 * doc/Makefile.am: Define pdf__strip_dir. Add
306 install-pdf and install-pdf-am targets.
307 * po/Make-in: Add install-pdf target.
308 * configure: Regenerate.
309 * Makefile.in: Regenerate.
310 * doc/Makefile.in: Regenerate.
311
0dafdf3f
L
3122009-02-03 H.J. Lu <hongjiu.lu@intel.com>
313
314 PR binutils/9784
315 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
316
317 * doc/binutils.texi: Document --prefix=PREFIX and
318 --prefix-strip=LEVEL.
319
320 * objdump.c: Include "filenames.h".
321 (prefix): New.
322 (prefix_strip): Likewise.
323 (prefix_length): Likewise.
324 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
325 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
326 (long_options): Likewise.
327 (show_line): Handle prefix and prefix_strip.
328 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
329
330 * readelf.c (PATH_MAX): Moved to ...
331 * sysdep.h: Here.
332
010e5ae2
AM
3332009-01-31 Alan Modra <amodra@bigpond.net.au>
334
335 * NEWS: Mention --as-needed change.
336
8d8e0703
AM
3372009-01-29 Alan Modra <amodra@bigpond.net.au>
338
339 PR 9798
340 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
341 (bfd_get_archive_filename): Constify param.
342 * bucomm.h (bfd_get_archive_filename): Update prototype.
343 * objcopy.c (RETURN_NONFATAL): Delete.
344 (copy_unknown_object): Don't call bfd_get_archive_filename for
345 bfd_nonfatal_message filename, instead just pass bfd.
346 (copy_object): Likewise.
347 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
348 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
349 (setup_bfd_headers): Fix error message.
350
1b0adfe0
NC
3512009-01-27 Nick Clifton <nickc@redhat.com>
352
353 PR 9774
354 * objdump.c (disassemble_section): When the target uses signed
355 addresses make sure that we compute signed values.
356
9f04c329
NC
3572009-01-27 Nick Clifton <nickc@redhat.com>
358
359 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
360 maintainers.
361
2c2ce03f
NC
3622009-01-26 Nick Clifton <nickc@redhat.com>
363
364 PR 9766
365 * dlltool.c (xlate): When strip text after the @ sign, look for
366 the last one not the first one.
367
29670fb9
AM
3682009-01-16 Alan Modra <amodra@bigpond.net.au>
369
370 * configure.in (commonbfdlib): Delete.
371 * configure: Regenerate.
372
25893672
NC
3732008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
374
375 Cleanup code related to --identify option.
376
377 * binutils/dlltool.c (file scope): Removed globals identify_ms,
378 identify_member_contains_symname_result,
379 identify_dll_name_list_head, and identify_dll_name_list_tail.
380 Renamed existing typedef dll_name_list_type to
381 dll_name_list_node_type.
382 Added new typedefs dll_name_list_type, symname_search_data_type,
383 and identify_data_type.
384 (identify_append_dll_name_to_list): Renamed to...
385 (dll_name_list_append): ...here. Changed signature to accept list
386 argument rather than use global.
387 (identify_count_dll_name_list): Renamed to...
388 (dll_name_list_count): ...here. Changed signature to accept list
389 argument rather than use global.
390 (identify_print_dll_name_list): Renamed to...
391 (dll_name_list_print): ...here. Changed signature to accept list
392 argument rather than use global.
393 (identify_free_dll_name_list): Renamed to...
394 (dll_name_list_free_contents): ...here.
395 (dll_name_list_free): New function.
396 (dll_name_list_create): New function.
397 (identify_process_section_p): Changed signature to accept
398 ms_style_implib argument rather than use global.
399 (identify_member_contains_symname): Expect incoming void * data to
400 be symname_search_data_type.
401 (identify_dll_for_implib): Use new functions dll_name_list_create
402 and dll_name_list_free. Use new types symname_search_data_type
403 and identify_data_type to communicate with search routines.
404 (identify_search_section): Expect incoming void * data to be
405 identify_data_type. Use its contents rather than global
406 variables.
407
71c57c16
NC
4082009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
409
410 Add --identify-strict option. Handle ms-style implibs:
411
412 * dlltool.c (file scope): Added new globals identify_ms and
413 identify_strict. New typedef dll_name_list_type, and globals
414 identify_dll_name_list_head and identify_dll_name_list_tail. Added
415 new global identify_member_contains_symname_result.
416 (identify_append_dll_name_to_list): New function.
417 (identify_count_dll_name_list): New function.
418 (identify_print_dll_name_list): New function.
419 (identify_free_dll_name_list): New function.
420 (identify_search_archive): Changed signature to take function
421 pointer to operation to apply to each member, and data to pass on
422 to that function.
423 (identify_search_member): Changed signature to accept user data
424 from caller.
425 (identify_member_contains_symname): New function.
426 (identify_dll_for_implib): Rewrite. Now determines whether implib
427 is ms- or binutils- style, before searching sections for
095ad3b8 428 dllname. Allows multiple dllnames.
71c57c16
NC
429 (identify_process_section_p): Search alternate section for dllname
430 when implib is ms-style.
431 (identify_search_section): Add additional conditions to excludes
432 candidate sections from consideration.
433 (usage): Added --identify-strict.
434 (long_options): Added --identify-strict.
435 (main): Handle --identify-strict option.
436 * doc/binutils.texi: Document --identify-strict option.
437 * NEWS: Document --identify and --identify-strict options.
438
840b96a7
AM
4392009-01-13 Alan Modra <amodra@bigpond.net.au>
440
441 PR 7034
442 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
443
22f4bbf5
AM
4442009-01-13 Alan Modra <amodra@bigpond.net.au>
445
446 * objdump.c (disassemble_section): Don't assume non-instruction
447 data if object symbol at given address is in different section.
448
2ea2f3c6
KT
4492009-01-12 Kai Tietz <kai.tietz@onevision.com>
450
451 * dlltool.c (create_for_pep): New.
452 (flush_page): Use create_for_pep instead of using
453 macro DLLTOOL_MX86_64 clause.
454 (generate_idata_ofile): Likewise.
455 (make_one_lib_file): Likewise.
456 (make_head): Likewise.
457 (make_tail): Likewise.
458 (main): Initialize create_for_pep.
459
e77b97d4
KT
4602009-01-08 Kai Tietz <kai.tietz@onevision.com>
461
462 * dlltool.c (use_nul_prefixed_import_tables): New.
463 (make_head): Make prefix leading zero prefix element for
464 idata$4 and idata$5 dependent to new flag.
465 (usage): Add new option --use-nul-prefixed-import-tables.
466 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
467 (long_options): Add --use-nul-prefixed-import-tables.
468 (main): Likewise.
469 * doc/binutils.texi: Add new option documentation for
470 --use-nul-prefixed-import-tables.
471 * NEWS: Add new option.
472
1069ad51 4732009-01-06 Kai Tietz <kai.tietz@onevision.com>
84e94c90 474
1069ad51
KT
475 * windres.c (set_endianess): Get architecture name
476 for internal target names like "pe-arm-wince-little".
477 (find_arch_match): New helper.
478 * ChangeLog: Reset it.
479 * ChangeLog-2008: Moved old ChangeLog.
84e94c90 480
1069ad51 481For older changes see ChangeLog-2008
252b5132
RH
482\f
483Local Variables:
484mode: change-log
485left-margin: 8
486fill-column: 74
487version-control: never
488End:
This page took 0.397076 seconds and 4 git commands to generate.