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