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