]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
* dwarf2.h: Mention the location of the DWARF3 spec on the web.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2007-11-16 Nick Clifton <nickc@redhat.com>
2
3 * dwarf.c (process_extended_line_op): Add cases for HP extensions
4 to the line ops. Mention if an unknown op code is in the user
5 defined range.
6 (decode_location_expression): Add cases for HP extensions, the
7 DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and
8 DW_OP_bit_piece DWARF3 operators.
9 (read_and_display_attr): Correct list of attributes which can
10 reference a location list.
11 (read_and_display_attr_value): Add cases for DWARF3 values and HP
12 extensions.
13 Correct list of attributes which can reference a location list.
14 (get_AT_name): Add cases for DWARF3 values and HP and PGI
15 extensions.
16
17 2007-11-07 Karl Berry <karl@gnu.org>
18
19 * doc/binutils.texi: Update to FDL 1.2.
20 (Top): consistent punctuation in menu entries.
21 (Index): Rename from Binutils Index.
22 * doc/fdl.texi: Update from http://www.gnu.org/licenses/fdl.texi.
23
24 2007-10-31 Nick Clifton <nickc@redhat.com>
25
26 * dwarf.c (is_relocatable): Remove definition.
27 (display_debug_frames): Remove check in is_relocatable.
28 * dwarf.h (is_relocatable): Remove declaration.
29 * objdump.c (is_relocatable): New static definition.
30 * readelf.c (dump_relocations): Make the function void.
31 (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx,
32 OR32 and Score.
33 (is_32bit_pcrel_reloc): Add support for x86 and Arm.
34 (is_16bit_abs_reloc): Add support for D10V.
35 (debug_apply_rela_addends): Rename to debug_apply_relocations.
36 Add code to support rel relocations.
37 (load_debug_section): Fix call to debug_apply_relocations.
38 (get_file_header): Remove setting of is_relocatable.
39
40 2007-10-31 Alan Modra <amodra@bigpond.net.au>
41
42 * readelf.c (debug_apply_rela_addends): Clarify FIXME.
43
44 2007-10-29 Nick Clifton <nickc@redhat.com>
45
46 * readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by
47 IA64.
48 (is_64bit_abs_reloc): Likewise.
49
50 2007-10-28 Nick Clifton <nickc@redhat.com>
51
52 * dwarf.c (process_debug_info): Check for corrupt lengths.
53 * readelf.c (get_reloc_type): New function. Returns the reloc
54 number extracted from the info field of a reloc.
55 (get_reloc_symindex): New function. Returns the symbol index
56 extracted from the info field of a reloc.
57 (dump_relocations): Use the new functions.
58 (slurp_ia64_unwind_table): Use the new functions.
59 (slurp_hppa_unwind_table): Use the new functions.
60 (dump_section_as_bytes): Use the new functions.
61 (get_reloc_size): Delete function.
62 (is_32bit_abs_reloc): New function. Determines if a given reloc
63 type is a 32-bit absolute relocation.
64 (is_32bit_pcrel_reloc): New function. Like is_32bit_abs_reloc but
65 for pc-relative relocations.
66 (is_64bit_abs_reloc): New function. Like is_32bit_abs_reloc but
67 for 64-bit absolute relocations.
68 (is_16bit_abs_reloc): New function. Like is_32bit_abs_reloc but
69 for 32-bit absolute relocations.
70 (debug_apply_rela_addends): Use the new functions. Skip and warn
71 about any unrecognised relocations.
72
73 2007-10-26 Karl Berry <karl@freefriends.org>
74
75 * doc/binutils.texi: Move top stuff to the top.
76 Use @direntry/@dircategory, format entries to play nicely with
77 others.
78 Avoid duplicate copying strings.
79 Don't misspell "Texinfo".
80
81 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com>
82
83 * readelf.c (display_power_gnu_attribute): Add support for
84 Tag_GNU_Power_ABI_Vector.
85
86 2007-10-25 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
87
88 * readelf.c (get_note_type): Handle NT_PPC_VMX.
89
90 2007-10-24 Alan Modra <amodra@bigpond.net.au>
91
92 * Makefile.am: Run "make dep-am".
93 * Makefile.in: Regenerate.
94 * po/POTFILES.in: Regenerate.
95
96 2007-10-24 Alan Modra <amodra@bigpond.net.au>
97
98 * strings.c (print_strings): Don't use %L, use %ll in printf
99 format strings.
100
101 2007-10-24 Tristan Gingold <gingold@adacore.com>
102 Alan Modra <amodra@bigpond.net.au>
103
104 * readelf.c (process_program_headers): Use dynamic segment unless
105 dynamic section is found.
106
107 2007-10-16 Bob Wilson <bob.wilson@acm.org>
108
109 * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.
110 (objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e."
111 and change to spell out "for example" in two places.
112
113 2007-10-16 Nick Clifton <nickc@redhat.com>
114
115 * configure.in: Build windows tools for --enable-targets=all.
116 * configure: Regenerate.
117
118 2007-10-15 Alan Modra <amodra@bigpond.net.au>
119
120 * objdump.c (print_line): Check fwrite return value.
121 * srconv.c (checksum, wr_tr, wr_cs): Likewise.
122 * sysdump.c (fillup): Return zero on getc or fread EOF. Return count
123 read.
124
125 2007-10-10 Jim Blandy <jimb@codesourcery.com>
126
127 * dwarf.c (process_debug_info): Line up section offsets of
128 attribute values with those of dies.
129 (read_and_display_attr): Reduce spacing here.
130
131 * dwarf.c (display_debug_lines): Print the offset of each line
132 number program header.
133
134 2007-10-09 H.J. Lu <hongjiu.lu@intel.com>
135
136 PR binutils/4476
137 * readelf.c (print_dynamic_symbol): New.
138 (process_symbol_table): Handle DT_GNU_HASH for dynamic symbols.
139
140 2007-10-08 Carlos O'Donell <carlos@codesourcery.com>
141
142 * resrc.c (read_rc_file): Rename e to edit, and c to dir.
143 Pass dir to windres_add_include_dir. Add comments.
144 (close_input_stream): Check pclose error, and call fatal if
145 the preprocessor failed.
146 * windres.c (windres_add_include_dir): Assert that p is non-NULL,
147 and not an empty string.
148
149 2007-10-04 Nick Clifton <nickc@redhat.com>
150
151 PR binutils/5098
152 * dlltool.c: Fix spelling typos.
153
154 2007-10-03 Masaki Muranaka <monaka@monami-software.com>
155
156 * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.
157
158 2007-09-25 Thien-Thi Nguyen <ttn@gnuvola.org>
159
160 * MAINTAINERS: Fix typo.
161
162 2007-09-17 Shen Feng <shen@cn.fujitsu.com>
163
164 * readelf.c (do_archive_index): New.
165 (options): Add -c and --archive-index option.
166 (usage): Add -c option.
167 (parse_args): Add c option parsing.
168 (process_archive): Dump archive index.
169 * NEWS: Mention the new feature.
170 * doc/binutils.texi: Document the new feature.
171
172 2007-09-17 Nick Clifton <nickc@redhat.com>
173
174 * po/es.po: Updated Spanish translation.
175
176 2007-09-17 Nick Clifton <nickc@redhat.com>
177
178 * doc/binutils.texi (objdump): Describe the output of the --syms
179 option in more detail.
180
181 2007-09-17 Alon Bar-Lev <alon.barlev@gmail.com>
182
183 PR binutils/4987
184 * resrc.c: (read_rc_file): Move 'filename' default initialization
185 to start of function.
186
187 2007-08-31 Michael Meissner <michael.meissner@amd.com>
188 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
189
190 * NEWS: Add note about SSE5 being added on i386.
191
192 2007-09-13 Alan Modra <amodra@bigpond.net.au>
193 Zhou Drangon <drangon.mail@gmail.com>
194
195 * nm.c (value_format_64bit, set_print_radix, print_value): Handle
196 BFD_HOST_64BIT_LONG_LONG.
197 * readelf.c (print_dec_vma): Don't define if BFD_HOST_64BIT_LONG_LONG.
198 (print_vma): Handle BFD_HOST_64BIT_LONG_LONG.
199 (dump_relocations): Likewise. Expand _bfd_int64_low in a
200 number of places.
201
202 2007-09-11 Kai Tietz <kai.tietz@onevision.com>
203
204 * rcparse.y: (string_data): Removed ill token removal.
205
206 2007-09-10 Alan Modra <amodra@bigpond.net.au>
207
208 PR 5011
209 * readelf.c (process_version_sections): Don't read past end of
210 various section buffers.
211
212 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
213
214 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
215 * Makefile.in: Regenerated.
216
217 * sysdep.h: Include "config.h" first.
218
219 2007-08-31 Nick Clifton <nickc@redhat.com>
220
221 * po/sk.po: New Slovakian translation.
222 * configure.in (LINGUAS): Add sk.
223 * configure: Regenerate.
224
225 2007-08-30 Nick Clifton <nickc@redhat.com>
226
227 * readelf.c (dump_type): New type used to classify the kinds of
228 dump requested by the user.
229 (dump_sects, cmdline_dump_sects): Use the new type.
230 (options): Add --string-dump option.
231 (request_dump): Rename to request_dump_bynumber. Use dump_type.
232 (request_dump_byname): Use dump_type.
233 (parse_args): Parse --string-dump option.
234 (process_section_headers): Fix calls to request_dump.
235 (initialise_dumps_byname): Likewise.
236 (dump_section): Rename to dump_section_as_bytes.
237 (dump_section_as_strings): New function. Display the contents of
238 a section as printable strings.
239 (process_section_contents): String dump the section if requested.
240 (process_object): Use dump_type.
241 (main): Likewise.
242 * Makefile.am: Add dependency for readelf.c on safe-ctype.h.
243 * Makefile.in: Regenerate.
244 * NEWS: Mention the new feature.
245 * doc/binutils.texi: Document the new feature.
246
247 2007-08-30 Nathan Sidwell <nathan@codesourcery.com>
248
249 * bucomm.c (bfd_nonfatal_message): New.
250 * bucomm.h (bfd_nonfatal_message): Declare.
251 * objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use
252 bfd_nonfatal_message.
253 (copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL
254 calls, or replace with bfd_nonfatal_message calls as appropriate.
255 (copy_object, copy_archive, copy_file, setup_section,
256 copy_section, write_debugging_info): Likewise.
257
258 2007-08-28 Nick Clifton <nickc@redhat.com>
259
260 * NEWS: Mention Coverity's contribution.
261
262 2007-08-25 Ulrich Weigand <uweigand@de.ibm.com>
263
264 * readelf.c (process_note): Recognize SPU core file notes.
265
266 2007-08-24 Daniel Jacobowitz <dan@codesourcery.com>
267
268 * configure.in: Install embedspu on powerpc*-*-eabi* also.
269 * configure: Regenerated.
270
271 2007-08-24 Daniel Jacobowitz <dan@codesourcery.com>
272
273 * po/uk.po: Updated Ukrainian translation.
274
275 2007-08-22 Ben Elliston <bje@au.ibm.com>
276
277 * doc/binutils.texi (objdump): Document -Mppcps.
278
279 2007-08-17 Alan Modra <amodra@bigpond.net.au>
280
281 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
282
283 2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
284
285 * readelf.c: Revert last change.
286
287 2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
288
289 * readelf.c (get_segment_type): Change PT_GNU_STACK to
290 PT_GNU_ATTR.
291
292 2007-08-12 Daniel Jacobowitz <dan@codesourcery.com>
293
294 * NEWS: Add a marker for the 2.18 features.
295
296 2007-08-12 Matthias Klose <doko@ubuntu.com>
297
298 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
299 $(top_srcdir)/../../bfd/doc.
300 * doc/Makefile.in: Regenerate.
301
302 2007-08-10 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
303
304 * MAINTAINERS: Add myself as CR16 support maintainer and
305 update myself as CRX support maintainer.
306
307 2007-08-10 Nick Clifton <nickc@redhat.com>
308
309 * po/fi.po: Updated Finnish translation.
310 * po/vi.po: Updated Vietnamese translation.
311
312 2007-08-10 Kai Tietz <kai.tietz@onevision.com>
313
314 * doc/binutils.texi: (windmc): Correct incorrect desciption.
315
316 2007-08-04 Alan Modra <amodra@bigpond.net.au>
317
318 PR 4888
319 * objcopy.c (setup_section): Do modify section flags for ELF
320 STRIP_NONDEBUG (reverting part of 2007-05-30 change). Prevent
321 header rewrite by twiddling input section flags instead.
322 Simplify code setting SHT_NOBITS.
323
324 2007-07-28 Christopher Faylor <me+binutils@cgf.cx>
325
326 * MAINTAINERS: Update my email address.
327
328 2007-07-26 Adam Nemet <anemet@caviumnetworks.com>
329
330 * readelf.c (process_archive): Also skip Irix6-style archive symbol
331 tables.
332
333 2007-07-24 Nick Clifton <nickc@redhat.com>
334
335 * readelf.c (NUM_ELEM): Remove redundant macro; replace references
336 to it with references to ARRAY_SIZE.
337 Add support for CR16.
338 Fix formatting.
339
340 2007-07-19 Nick Clifton <nickc@redhat.com>
341
342 PR binutils/4802
343 * srconv.c (strip_suffix): Add const qualifier to argument.
344
345 2007-07-16 Nick Clifton <nickc@redhat.com>
346
347 * po/uk.po: New Ukrainian translation.
348 * configure.in (ALL_LINGUAS): Add 'uk'.
349 * configure: Regenerate.
350
351 2007-07-10 Alan Modra <amodra@bigpond.net.au>
352
353 * objdump.c (dump_dwarf): Correct setting of is_relocatable.
354
355 2007-07-09 Roland McGrath <roland@redhat.com>
356
357 * readelf.c (get_gnu_elf_note_type): New function.
358 (process_note): Use it for "GNU" name.
359
360 2007-07-08 Andreas Schwab <schwab@suse.de>
361
362 * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
363 (CFILES): Add unwind-ia64.c.
364 Regenerate dependencies.
365 * Makefile.in: Regenerate.
366
367 2007-07-05 Nick Clifton <nickc@redhat.com>
368
369 * addr2line.c: Update copyright notice to refer to GPLv3.
370 * ar.c, arlex.l, arparse.y, arsup.c, arsup.h, bin2c.c, binemul.c,
371 binemul.h, bucomm.c, bucomm.h, budbg.h, coffdump.c, coffgrok.c,
372 coffgrok.h, cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y,
373 dlltool.c, dlltool.h, dllwrap.c, dwarf.c, dwarf.h, embedspu.sh,
374 emul_aix.c, emul_vanilla.c, filemode.c, ieee.c, mclex.c,
375 mcparse.y, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
376 objdump.c, prdbg.c, rclex.c, rcparse.y, rdcoff.c, rddbg.c,
377 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
378 size.c, srconv.c, stabs.c, strings.c, sysdep.h, sysdump.c,
379 sysinfo.y, syslex.l, unwind-ia64.c, unwind-ia64.h, version.c,
380 windint.h, windmc.c, windmc.h, windres.c, windres.h, winduni.c,
381 winduni.h, wrstabs.c: Likewise.
382 * is-ranlib.c, is-strip.c, maybe-ranlib.c, maybe-strip.c,
383 not-ranlib.c, not-strip.c, ranlib.sh, sanity.sh: Add a copyright
384 notice.
385 * NEWS: Mention that the sources are now released under GPLv3.
386 Add a marker for the changes that went into v2.17.
387 * version.c (print_version): Specify that the program is released
388 under version 3 of the GPL.
389
390 2007-07-05 Kai Tietz <kai.tietz@onevision.com>
391
392 * resrc.c: (read_rc_file): Add include path of user passed rc
393 input file.
394 * windres.c: (windres_add_include_dir): New.
395 (main): Use of windres_add_include_dir.
396 * windres.h: (windres_add_include_dir): Add prototype.
397
398 2007-07-05 Alan Modra <amodra@bigpond.net.au>
399
400 * doc/binutils.texi (size): Document --common.
401 * size.c: Make a number of vars static. Delete unnecessary
402 function declarations.
403 (show_common, common_size): New vars.
404 (usage): Describe --common.
405 (OPTION_FORMAT, OPTION_RADIX, OPTION_TARGET): Define and use.
406 (long_options): Add common.
407 (calculate_common_size): New function.
408 (print_berkeley_format): Add common_size to bsssize.
409 (sysv_one_line): New function split out from..
410 (sysv_internal_printer): ..here.
411 (print_sysv_format): Handle display of *COM*.
412 (print_sizes): Call calculate_common_size.
413
414 2007-07-05 Alan Modra <amodra@bigpond.net.au>
415
416 * emul_aix.c (ar_emul_aix_internal): Rename "next" to "archive_next".
417
418 2007-07-02 Alan Modra <amodra@bigpond.net.au>
419
420 PR 4716
421 * objcopy.c (filter_symbols): Correct relocatable file test.
422
423 2007-07-02 Alan Modra <amodra@bigpond.net.au>
424
425 * Makefile.am: Run "make dep-am".
426 * Makefile.in: Regenerate.
427 * aclocal.m4: Regenerate.
428 * config.in: Regenerate.
429 * doc/Makefile.in: Regenerate.
430 * po/POTFILES.in: Regenerate.
431 * po/binutils.pot: Regenerate.
432
433 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
434
435 * aclocal.m4: Regenerated.
436 * doc/Makefile.in: Likewise.
437 * Makefile.in: Likewise.
438
439 2007-06-29 Joseph Myers <joseph@codesourcery.com>
440
441 * readelf.c (display_power_gnu_attribute, process_power_specific):
442 New.
443 (process_arch_specific): Call process_power_specific.
444
445 2007-06-29 Joseph Myers <joseph@codesourcery.com>
446
447 * readelf.c (display_mips_gnu_attribute): New.
448 (process_mips_specific): Call process_attributes.
449
450 2007-06-29 Joseph Myers <joseph@codesourcery.com>
451
452 * readelf.c (display_gnu_attribute): New.
453 (process_arm_specific): Rearrange as process_attributes.
454 (process_arm_specific): Replace by wrapper of process_attributes.
455
456 2007-06-28 Roland McGrath <roland@frob.com>
457
458 * objcopy.c (setup_section): Don't reset ELF section type to
459 SHT_NOBITS when it is SHT_NOTE.
460 * doc/binutils.texi (objcopy, strip): Mention under --only-keep-debug.
461
462 2007-06-27 Alan Modra <amodra@bigpond.net.au>
463
464 * ar.c: Rename uses of bfd.next to bfd.archive_next throughout.
465 * arsup.c: Likewise.
466 * binemul.c: Likewise.
467 * objcopy.c: Likewise.
468 * dlltool.c: Likewise.
469
470 2007-06-26 Shantonu Sen <ssen@apple.com>
471
472 PR binutils/4693
473 * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move
474 dependency on $(LIBICONV) to ...
475 (windres_LDADD, windmc_LDADD) ... here.
476 * Makefile.in: Regenerate.
477
478 2007-06-21 Alan Modra <amodra@bigpond.net.au>
479
480 * embedspu.sh (relas): Correct sh_info parsing.
481
482 2007-06-19 Danny Smith <dannysmith@users.sourceforge.net>
483
484 * objdump.c: Include sys/stat.h.
485
486 2007-06-19 Kai Tietz <kai.tietz@onevision.com>
487
488 * Makefile.am: Add windmc tool.
489 * Makefile.in: Regenerate.
490 * configure.in: Add windmc tool.
491 * configure: Regenerate.
492 * mclex.c: New.
493 * mcparse.y: New.
494 * windmc.c: New.
495 * windmc.h: New.
496 * doc/Makefile.am: Add windmc tool.
497 * doc/Makefile.in: Regenerate.
498 * doc/binutils.texi: Add windmc documentation.
499 * NEWS: Mention new tool.
500
501 2007-06-18 Andi Kleen <ak@suse.de>
502
503 * objdump.c: Include sys/mman.h
504 (print_file_list): Remove f, add map, mapsize, linemap, maxline,
505 last_line, first fields.
506 (slurp_file): Add.
507 (index_file): Add.
508 (print_file_open): Call slurp_file and index_file. Initialize new
509 fields.
510 (skip_to_line): Rename to print_line and write only single line.
511 (dump_line): Add.
512 (show_line): Change to new algorithm.
513
514 2007-06-18 Thomas Weidenmueller <w3seek@reactos.org>
515
516 * resres.c (probe_binary): Fix test for badly formatted headers.
517
518 2007-06-18 Kai Tietz <Kai.Tietz@onevision.com>
519
520 * rclex.c: (cpp_line): Add code_page pragma support.
521 * windres.c: (usage, long_options, main): Add new option
522 --codepage or -c.
523 * winduni.c: (wind_default_codepage, wind_current_codepage): New.
524 (unicode_from_ascii, ascii_from_unicode): Use
525 wind_current_codepage as codepage parameter.
526 (unicode_print): Print 4 characters for hexadecimal values in
527 unicode strings.
528 * winduni.h: (wind_default_codepage, wind_current_codepage):
529 Export.
530 * doc/binutils.texi: Document new option.
531 * NEWS: Mention new features of windres.
532
533 2007-06-18 Brian D. Watt <bwatt@us.ibm.com>
534
535 * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
536
537 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
538
539 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
540
541 * acinclude.m4: Removed.
542
543 * Makefile.in: Regenerated.
544 * aclocal.m4: Likewise.
545 * configure: Likewise.
546
547 2007-06-11 Nathan Sidwell <nathan@codesourcery.com>
548
549 * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
550
551 2007-06-06 Kai Tietz <Kai.Tietz@onevision.com>
552
553 PR binutils/4356 binutils/591
554 * resrc.c (filename_need_quotes): New function.
555 (look_for_default): If filename_need_quotes is true then quote the
556 filename in the command line being created.
557 (read_rc_file): Likewise.
558
559 2007-06-06 Ben Elliston <bje@au.ibm.com>
560
561 * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
562
563 2007-06-05 Kai Tietz <Kai.Tietz@onevision.com>
564
565 * Makefile.am: Add LIBICONV to windres.
566 * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
567 * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
568 * config.in: Add ICONV defines.
569 * aclocal.m4: Regenerate.
570 * confugure: Regenerate.
571 * winduni.c: (local_iconv_map codepages, wind_language_t,
572 languages, unicode_is_valid_codepage, wind_find_language_by_id,
573 wind_find_language_by_codepage, wind_find_codepage_info,
574 unicode_from_codepage, codepage_from_unicode, iconv_onechar,
575 wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
576 New.
577 (ascii_from_unicode): Use codepage_from_unicode.
578 (ascii_from_unicode): Use unicode_from_codepage.
579 Use for cygwin windows API for unicode transformation.
580 * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
581 macros.
582 (wind_language_t, local_iconv_map): New types.
583 (wind_find_language_by_id, wind_find_language_by_codepage,
584 unicode_is_valid_codepage, wind_find_codepage_info,
585 unicode_from_codepage, codepage_from_unicode): New
586 prototypes.
587
588 2007-06-05 Alan Modra <amodra@bigpond.net.au>
589
590 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
591
592 2007-05-30 Alan Modra <amodra@bigpond.net.au>
593
594 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
595 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
596 (setup_section): Don't modify flags, and don't avoid calling
597 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
598 * readelf.c (process_program_headers): Ignore .dynamic of type
599 SHT_NOBITS.
600
601 2007-05-29 Alan Modra <amodra@bigpond.net.au>
602
603 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
604 pic or pie and image needs relocs.
605
606 2007-05-24 Steve Ellcey <sje@cup.hp.com>
607
608 * Makefile.in: Regenerate.
609 * configure: Regenerate.
610 * aclocal.m4: Regenerate.
611 * doc/Makefile.in: Regenerate.
612
613 2007-05-24 Kai Tietz <Kai.Tietz@onevision.com>
614
615 * rcparse.y: Join strings for elements having no side-effects in
616 "rc"-grammar.
617
618 2007-05-23 Kai Tietz <Kai.Tietz@onevision.com>
619
620 * rclex.c: New file replacing rclex.l.
621 * rclex.l: Removed.
622 * windint.h: New file holding common structure and type
623 definitions.
624 * Makefile.am: Added new header windint.h and exchanged rclex.l by
625 rclex.c.
626 * Makefile.in: Regenerate.
627 * rcparse.y: Renamed some structures.
628 Use in internal representation always bfd_vma instead of long or
629 int.
630 Removed from %union unused stringtable.
631 Added to %union suni structure for unicode strings.
632 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
633 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
634 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
635 Added support for these new rc file tokens.
636 * resbin.c: Rewrote using bfd and binary structures, and support
637 new resource types.
638 * rescoff.c: Likewise.
639 * resres.c: Likewise.
640 * resrc.c: Likewise. Dumps as RC are now recompilable.
641 * windres.c: As above. Using bfd for res and provide target
642 specific endianess support.
643 * windres.h: Use windint.h as include. Additionally removed K&R
644 syntax.
645 * winduni.c: New printing and unichar support routines.
646 * winduni.h: Prototypes for new unichar helpers.
647 * windint.h: New file.
648
649 2007-05-22 Paul Brook <paul@codesourcery.com>
650
651 * objdump.c (find_symbol_for_address): Merge section and target
652 specific filtering code.
653
654 2007-05-22 Nick Clifton <nickc@redhat.com>
655
656 * doc/binutils.texi: Use @copying around the copyright notice.
657
658 2007-05-21 Richard Sandiford <richard@codesourcery.com>
659
660 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
661 for executables and shared libraries.
662
663 2007-05-18 Nathan Sidwell <nathan@codesourcery.com>
664
665 * objcopy.c (strip_main): Detect identical input and output file
666 names.
667 (copy_main): Refactor tempname detection and use.
668
669 2007-05-17 Nick Clifton <nickc@redhat.com>
670
671 * objdump.c (load_debug_section): Select bias for DWARF debug
672 addresses based on the flavour of the bfd.
673
674 2007-05-11 Alan Modra <amodra@bigpond.net.au>
675
676 PR 4479
677 * objcopy.c (copy_object): Don't copy ELF program headers for
678 --only-keep-debug.
679
680 2007-05-11 Alan Modra <amodra@bigpond.net.au>
681
682 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
683 over one found on the users path.
684 (main): Generate .reloc for each R_SPU_PPU* reloc.
685
686 2007-04-28 Alan Modra <amodra@bigpond.net.au>
687
688 * prdbg.c (tg_variable): Adjust for changed demangler.
689 (tg_start_function): Likewise.
690
691 2007-04-27 Alan Modra <amodra@bigpond.net.au>
692
693 * bucumm.h: Split off host dependencies to..
694 * sysdep.h: ..here.
695 Many files: Include sysdep.h. Remove duplicate headers and reorder.
696 * Makefile.am: Run "make dep-am".
697 * Makefile.in: Regenerate.
698
699 2007-04-24 Nick Clifton <nickc@redhat.com>
700
701 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
702
703 2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
704 Phil Edwards <phil@codesourcery.com>
705
706 * objcopy.c (filter_symbols): Explicitly stripping a symbol
707 used in relocations is an error.
708 Retype 'keep' to bfd_boolean.
709
710 2007-04-24 Alan Modra <amodra@bigpond.net.au>
711
712 * Makefile.in: Regenerate.
713 * doc/Makefile.in: Regenerate.
714
715 2007-04-20 Nathan Froyd <froydnj@codesourcery.com>
716 Phil Edwards <phil@codesourcery.com>
717 Thomas de Lellis <tdel@windriver.com>
718
719 * objcopy.c (reverse_bytes): New variable.
720 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
721 (copy_options, copy_usage): Add "reverse-bytes" entry.
722 (copy_section): Reverse bytes within output sections.
723 * doc/binutils.texi: Document new objcopy option.
724
725 2007-04-20 Nick Clifton <nickc@redhat.com>
726
727 * rclex.l: Allow underscores at the start of identifiers.
728
729 2007-04-19 Alan Modra <amodra@bigpond.net.au>
730
731 * budemang.c: Delete.
732 * budemang.h: Delete.
733 * addr2line.c (translate_addresses): Call bfd_demangle rather than
734 demangle.
735 * nm.c (print_symname): Likewise.
736 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
737 (dump_bfd): Likewise.
738 * prdbg.c (struct pr_handle <demangler>): Add int param.
739 (tg_variable, tg_start_function): Adjust demangler calls.
740 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
741 * Makefile.in: Regenerate.
742 * po/POTFILES.in: Regenerate.
743
744 2007-04-14 Steve Ellcey <sje@cup.hp.com>
745
746 * Makefile.am: Add ACLOCAL_AMFLAGS.
747 * configure.in: Change macro call order.
748 * Makefile.in: Regenerate.
749 * configure: Regenerate.
750
751 2007-04-13 Nathan Sidwell <nathan@codesourcery.com>
752
753 * Makefile.am (TOOL_PROGS): Add objcopy.
754 * Makefile.in: Rebuilt.
755
756 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
757
758 PR binutils/4348
759 * objcopy.c (copy_object): Don't stop when there are no
760 sections to be copied.
761
762 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
763
764 * NEWS: Mention disjoint histograms support in
765 gprof.
766
767 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
768
769 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
770 DW_TAG_inlined_subroutine.
771
772 2007-04-06 Matt Thomas <matt@netbsd.org>
773
774 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
775
776 2007-04-05 Alan Modra <amodra@bigpond.net.au>
777
778 PR binutils/4292
779 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
780 value_format_32bit.
781
782 2007-04-02 Nick Clifton <nickc@redhat.com>
783
784 PR binutils/4292
785 * nm.c (value_format): Replace with value_format_32bit and
786 value_format_64bit.
787 (set_radix): Update setting of value_format.
788 (set_print_width): New function. Compute the address size of a
789 given bfd and set the print_width global appropriately.
790 (display_archive): Use set_print_width.
791 (display_file): Likewise,
792 (print_object_filename_sysv): Update use of print_width.
793 (print_archive_member_sysv): Likewise.
794 (print_symbol_filename_posix): Likewise.
795 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
796
797 2007-03-28 Richard Sandiford <richard@codesourcery.com>
798 Phil Edwards <phil@codesourcery.com>
799
800 * doc/binutils.texi: Put the contents after the title page rather
801 than at the end of the document.
802
803 2007-03-28 Nick Clifton <nickc@redhat.com>
804
805 * readelf.c (slurp_rela_relocs): Add newline to end of error
806 messages.
807 (slurp_rel_relocs, request_dump, request_dump_byname,
808 process_program_headers, process_dynamic_section,
809 process_symbol_table, process_mips_specific, main): Likewise.
810
811 2007-03-28 Alan Modra <amodra@bigpond.net.au>
812
813 * MAINTAINERS: Update mailing list addresses. Add myself
814 as PPC maintainer.
815
816 2007-03-27 Alan Modra <amodra@bigpond.net.au>
817
818 * embedspu.sh: Correct toe_addr quoting.
819
820 2007-03-27 Alan Modra <amodra@bigpond.net.au>
821
822 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
823 .toe section and .toe address checks. Use .reloc for _EAR*
824 symbols defined in non-BSS sections. Build table for _SPUEAR_
825 symbols.
826
827 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
828
829 PR gas/3811
830 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
831
832 2007-03-22 Joseph Myers <joseph@codesourcery.com>
833
834 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
835 version.
836
837 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
838
839 * dlltool.c (make_one_lib_file): Use pc-relative relocation
840 instead of an absolute relocation for x86_64-pc-mingw32 target.
841
842 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
843
844 * Makefile.am (REPORT_BUGS_TO): Removed.
845 (INCLUDES): Remove -DREPORT_BUGS_TO.
846 * Makefile.in: Regenerated.
847
848 * bucomm.c: Don't include bfdver.h.
849 * objdump.c: Likewise.
850 * version.c: Likewise.
851
852 * bucomm.h: Include bfdver.h.
853
854 * configure.in (--with-bugurl): Removed.
855 * configure: Regenerated.
856
857 * doc/Makefile.am (binutils_TEXINFOS): Removed.
858 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
859 (TEXI2DVI): Likewise.
860 (config.texi): Removed.
861 (MOSTLYCLEANFILES): Remove config.texi.
862 * doc/Makefile.in: Regenerated.
863
864 * doc/binutils.texi: Include bfdver.texi instead of
865 config.texi.
866
867 2007-03-13 Nick Clifton <nickc@redhat.com>
868
869 * readelf.c (dump_section): Also test for SHT_REL sections when
870 producing the warning about unapplied relocs.
871
872 2007-03-07 Joseph Myers <joseph@codesourcery.com>
873
874 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
875 bug-reporting URL.
876 * doc/Makefile.am (config.texi): Define BUGURL.
877 * doc/binutils.texi: Use BUGURL. Remove text about large files
878 and uuencoding.
879 * Makefile.in, configure, doc/Makefile.in: Regenerate.
880
881 2007-03-01 Phil Edwards <phil@codesourcery.com>
882 Richard Sandiford <richard@codesourcery.com>
883
884 * NEWS: Mention addition of --extract-symbol.
885 * doc/binutils.texi: Document it.
886 * objcopy.c (extract_symbol): New variable.
887 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
888 (copy_options): Add an entry for --extract-symbol.
889 (copy_usage): Mention --extract-symbol.
890 (copy_object): Set the start address to zero for --extract-symbol.
891 Do not copy private BFD data in that case.
892 (setup_section): Set the size, LMA and VMA to zero for
893 --extract-symbol. Do not copy private BFD data in that case.
894 (copy_section): Do not copy section contents if --extract-symbol
895 is passed.
896 (copy_main): Set extract_symbol to TRUE if --extract-symbol
897 is passed.
898
899 2007-03-01 Paul Brook <paul@codesourcery.com>
900
901 * MAINTAINERS: Update my entry.
902
903 2007-03-01 Joseph Myers <joseph@codesourcery.com>
904
905 * version.c: Update copyright date.
906
907 2007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
908
909 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
910 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
911 * Makefile.in, doc/Makefile.in: Regenerate.
912
913 2007-03-01 Alan Modra <amodra@bigpond.net.au>
914
915 * embedspu.sh: Set type and size of global program handle symbol.
916
917 2007-02-28 Alan Modra <amodra@bigpond.net.au>
918
919 * Makefile.am (PROGS): Delete.
920 (RENAMED_PROGS): Define. Extracted from..
921 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
922 (install-exec-local): Adjust.
923 * Makefile.in: Regenerate.
924
925 2007-02-28 Alan Modra <amodra@bigpond.net.au>
926
927 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
928 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
929 (EXTRA_PROGRAMS): Remove bin2c.
930 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
931 (bin2c_SOURCES): Delete.
932 (DISTCLEANFILES): Remove sysinfo.
933 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
934 bin2c$(EXEEXT_FOR_BUILD).
935 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
936 Move embedspu to..
937 (BUILD_INSTALL_MISC): ..here.
938 * Makefile.in: Regenerate.
939 * configure: Regenerate.
940
941 2007-02-27 Alan Modra <amodra@bigpond.net.au>
942
943 * bin2c.c: New file.
944 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
945 (CFILES): Add bin2c.c.
946 (bin2c_SOURCES): Define.
947 (bin2c.o): Dependencies from "make dep-am".
948 * configure.in (BUILD_MISC): Add bin2c.
949 * version.c: Update year.
950 * po/POTFILES.in: Regenerate.
951 * Makefile.in: Regenerate.
952 * configure: Regenerate.
953
954 2007-02-17 Mark Mitchell <mark@codesourcery.com>
955 Nathan Sidwell <nathan@codesourcery.com>
956 Vladimir Prus <vladimir@codesourcery.com
957 Joseph Myers <joseph@codesourcery.com>
958
959 * configure.in (--with-bugurl): New option.
960 * configure: Regenerate.
961 * Makefile.am (REPORT_BUGS_TO): Define.
962 (INCLUDES): Define REPORT_BUGS_TO.
963 Regenerate dependencies.
964 * Makefile.in: Regenerate.
965 * doc/Makefile.in: Regenerate.
966 * bucomm.h: Remove include of bin-bugs.h.
967 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
968 * ar.c (usage): Pass s to list_supported_targets. Don't print
969 empty REPORT_BUGS_TO.
970 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
971 * cxxfilt.c (usage): Print bug url when giving help.
972 * dlltool.c (usage): Likewise.
973 * dllwrap.c (usage): Likewise.
974 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
975 * nm.c (usage): Likewise.
976 * objcopy.c (copy_usage, strip_usage): Likewise.
977 * objdump.c (usage): Likewise.
978 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
979 callers.
980 * size.c (usage): Don't print empty REPORT_BUGS_TO.
981 * srconv.c (show_usage): Likewise.
982 * strings.c (usage): Likewise.
983 * sysdymp.c (show_usage): Likewise.
984 * windres.c (usage): Likewise.
985
986 2007-02-13 Alan Modra <amodra@bigpond.net.au>
987
988 * embedspu.sh: Add -W to readelf invocation.
989
990 2007-02-06 Dave Brolley <brolley@redhat.com>
991
992 * MAINTAINERS: Add myself as the maintainer of the MeP port.
993
994 2007-02-06 Nick Clifton <nickc@redhat.com>
995
996 PR gas/3800
997 * readelf.c: Include elf/h8.h twice. The first time in order to
998 get the reloc numbers, the second time in order to get the reloc
999 decoder function.
1000 (dump_section): Tell the user if the section being displayed has
1001 unprocessed relocs associated with it.
1002 (get_reloc_size): New function - returns the size of a reloc.
1003 (debug_apply_rela_addends): Use get_reloc_size().
1004 * dwarf.c (read_and_display_attr_value): Extend number of
1005 languages known for the DW_AT_language attribute.
1006 (process_debug_info): Display the attribute offset before decoding
1007 the attribute, in case there are problems.
1008
1009 2007-02-05 Dave Brolley <brolley@redhat.com>
1010
1011 * readelf.c (dump_relocations): Don't check for
1012 (rtype == NULL && type == R_RELC).
1013
1014 2007-02-05 Dave Brolley <brolley@redhat.com>
1015
1016 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
1017 * Makefile.in: Regenerated.
1018 * Contribute the following changes:
1019 2003-10-29 Dave Brolley <brolley@redhat.com>
1020
1021 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
1022 * configure: Regenerated.
1023
1024 2001-04-03 Ben Elliston <bje@redhat.com>
1025
1026 * readelf.c: Include "elf/mep.h".
1027 (guess_is_rela): Handle EM_CYGNUS_MEP.
1028 (get_machine_name): Ditto.
1029 (dump_relocations): Ditto.
1030
1031 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1032
1033 * MAINTAINERS: Add a space between H.J. and Lu.
1034
1035 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1036
1037 * doc/binutils.texi (objdump): Document the new addr64 option
1038 for i386 disassembler.
1039
1040 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 PR binutils/3945
1043 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
1044 target.
1045 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
1046 * configure: Regenerated.
1047
1048 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
1049
1050 2007-02-02 Nick Clifton <nickc@redhat.com>
1051
1052 * doc/binutils.texi (objdump): Document support for disassembling
1053 the 440 PowerPC architecture.
1054
1055 2007-01-31 Nathan Sidwell <nathan@codesourcery.com>
1056
1057 * dwarf.c (process_debug_info): Protect against bogus length and
1058 abbrev offsets.
1059
1060 2007-01-25 Kazu Hirata <kazu@codesourcery.com>
1061
1062 * ar.c (print_contents, extract_file): Cast the return value
1063 of fwrite to size_t.
1064
1065 2007-01-12 Alan Modra <amodra@bigpond.net.au>
1066
1067 * ar.c (open_inarch): Check fwrite return. Use size_t.
1068 (extract_file): Likewise. Remove test for "negative" file size.
1069 * readelf.c (process_program_headers): Check fscanf return.
1070
1071 2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 * bucomm.c (template_in_dir): Fix typo.
1074
1075 2007-01-11 Alan Modra <amodra@bigpond.net.au>
1076
1077 * embedspu.sh: New file.
1078 * Makefile.am (embedspu): Add rule.
1079 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
1080 * Makefile.in: Regenerate.
1081 * configure: Regenerate.
1082
1083 2007-01-11 Alan Modra <amodra@bigpond.net.au>
1084
1085 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
1086 * bucomm.c (template_in_dir): New function, split out from..
1087 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
1088 (make_tempdir): Use template_in_dir. Handle directory creation
1089 when !HAVE_MKDTEMP.
1090 * objcopy.c (MKDIR): Don't define.
1091 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
1092 error message.
1093
1094 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1095
1096 * readelf.c (get_machine_flags): Treat Fido as an architecture
1097 by itself.
1098
1099 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
1100
1101 * configure.in: Renamed target x86_64-*-mingw64 to
1102 x86_64-*-mingw*.
1103 * configure: Regenerated.
1104
1105 2007-01-05 Alan Modra <amodra@bigpond.net.au>
1106
1107 * readelf.c (dump_section): Don't print 32-bit values, which
1108 were done incorrectly for little-endian. Instead print bytes.
1109
1110 For older changes see ChangeLog-2006
1111 \f
1112 Local Variables:
1113 mode: change-log
1114 left-margin: 8
1115 fill-column: 74
1116 version-control: never
1117 End: