]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
* dwarf.c (display_debug_lines): Print the offset of each line
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
6523721c
JB
12007-10-10 Jim Blandy <jimb@codesourcery.com>
2
3 * dwarf.c (display_debug_lines): Print the offset of each line
4 number program header.
5
6bd1a22c
L
62007-10-09 H.J. Lu <hongjiu.lu@intel.com>
7
8 PR binutils/4476
9 * readelf.c (print_dynamic_symbol): New.
10 (process_symbol_table): Handle DT_GNU_HASH for dynamic symbols.
11
944d6884
CD
122007-10-08 Carlos O'Donell <carlos@codesourcery.com>
13
14 * resrc.c (read_rc_file): Rename e to edit, and c to dir.
15 Pass dir to windres_add_include_dir. Add comments.
16 (close_input_stream): Check pclose error, and call fatal if
17 the preprocessor failed.
18 * windres.c (windres_add_include_dir): Assert that p is non-NULL,
19 and not an empty string.
20
ea6e992c
NC
212007-10-04 Nick Clifton <nickc@redhat.com>
22
23 PR binutils/5098
24 * dlltool.c: Fix spelling typos.
25
6f08d80e
AM
262007-10-03 Masaki Muranaka <monaka@monami-software.com>
27
28 * readelf.c (dump_section_as_strings): Use %6tx instead of %6zx.
29
45781998
NC
302007-09-25 Thien-Thi Nguyen <ttn@gnuvola.org>
31
32 * MAINTAINERS: Fix typo.
33
4145f1d5
NC
342007-09-17 Shen Feng <shen@cn.fujitsu.com>
35
36 * readelf.c (do_archive_index): New.
37 (options): Add -c and --archive-index option.
38 (usage): Add -c option.
39 (parse_args): Add c option parsing.
40 (process_archive): Dump archive index.
41 * NEWS: Mention the new feature.
42 * doc/binutils.texi: Document the new feature.
43
7f396d02
NC
442007-09-17 Nick Clifton <nickc@redhat.com>
45
46 * po/es.po: Updated Spanish translation.
47
af3e16d9
NC
482007-09-17 Nick Clifton <nickc@redhat.com>
49
50 * doc/binutils.texi (objdump): Describe the output of the --syms
51 option in more detail.
52
a1039809
NC
532007-09-17 Alon Bar-Lev <alon.barlev@gmail.com>
54
55 PR binutils/4987
56 * resrc.c: (read_rc_file): Move 'filename' default initialization
57 to start of function.
58
85f10a01
MM
592007-08-31 Michael Meissner <michael.meissner@amd.com>
60 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
61
62 * NEWS: Add note about SSE5 being added on i386.
63
39dbeff8
AM
642007-09-13 Alan Modra <amodra@bigpond.net.au>
65 Zhou Drangon <drangon.mail@gmail.com>
66
67 * nm.c (value_format_64bit, set_print_radix, print_value): Handle
68 BFD_HOST_64BIT_LONG_LONG.
69 * readelf.c (print_dec_vma): Don't define if BFD_HOST_64BIT_LONG_LONG.
70 (print_vma): Handle BFD_HOST_64BIT_LONG_LONG.
71 (dump_relocations): Likewise. Expand _bfd_int64_low in a
72 number of places.
73
d6d25f20
KT
742007-09-11 Kai Tietz <kai.tietz@onevision.com>
75
76 * rcparse.y: (string_data): Removed ill token removal.
77
54806181
AM
782007-09-10 Alan Modra <amodra@bigpond.net.au>
79
80 PR 5011
81 * readelf.c (process_version_sections): Don't read past end of
82 various section buffers.
83
f469d32b
L
842007-08-31 H.J. Lu <hongjiu.lu@intel.com>
85
86 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
87 * Makefile.in: Regenerated.
88
89 * sysdep.h: Include "config.h" first.
90
30b0f203
NC
912007-08-31 Nick Clifton <nickc@redhat.com>
92
93 * po/sk.po: New Slovakian translation.
94 * configure.in (LINGUAS): Add sk.
95 * configure: Regenerate.
96
09c11c86
NC
972007-08-30 Nick Clifton <nickc@redhat.com>
98
99 * readelf.c (dump_type): New type used to classify the kinds of
100 dump requested by the user.
101 (dump_sects, cmdline_dump_sects): Use the new type.
102 (options): Add --string-dump option.
103 (request_dump): Rename to request_dump_bynumber. Use dump_type.
104 (request_dump_byname): Use dump_type.
105 (parse_args): Parse --string-dump option.
106 (process_section_headers): Fix calls to request_dump.
107 (initialise_dumps_byname): Likewise.
108 (dump_section): Rename to dump_section_as_bytes.
109 (dump_section_as_strings): New function. Display the contents of
110 a section as printable strings.
111 (process_section_contents): String dump the section if requested.
112 (process_object): Use dump_type.
113 (main): Likewise.
114 * Makefile.am: Add dependency for readelf.c on safe-ctype.h.
115 * Makefile.in: Regenerate.
116 * NEWS: Mention the new feature.
117 * doc/binutils.texi: Document the new feature.
118
2db6cde7
NS
1192007-08-30 Nathan Sidwell <nathan@codesourcery.com>
120
121 * bucomm.c (bfd_nonfatal_message): New.
122 * bucomm.h (bfd_nonfatal_message): Declare.
123 * objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use
124 bfd_nonfatal_message.
125 (copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL
126 calls, or replace with bfd_nonfatal_message calls as appropriate.
127 (copy_object, copy_archive, copy_file, setup_section,
128 copy_section, write_debugging_info): Likewise.
129
ad71ef64
NC
1302007-08-28 Nick Clifton <nickc@redhat.com>
131
132 * NEWS: Mention Coverity's contribution.
133
b15fa79e
AM
1342007-08-25 Ulrich Weigand <uweigand@de.ibm.com>
135
136 * readelf.c (process_note): Recognize SPU core file notes.
137
59678365
DJ
1382007-08-24 Daniel Jacobowitz <dan@codesourcery.com>
139
140 * configure.in: Install embedspu on powerpc*-*-eabi* also.
141 * configure: Regenerated.
142
b0b8c9e0
DJ
1432007-08-24 Daniel Jacobowitz <dan@codesourcery.com>
144
145 * po/uk.po: Updated Ukrainian translation.
146
c3d65c1c
BE
1472007-08-22 Ben Elliston <bje@au.ibm.com>
148
149 * doc/binutils.texi (objdump): Document -Mppcps.
150
e9f27433
AM
1512007-08-17 Alan Modra <amodra@bigpond.net.au>
152
153 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
154
2b05f1b7
L
1552007-08-16 H.J. Lu <hongjiu.lu@intel.com>
156
157 * readelf.c: Revert last change.
158
94b11780
L
1592007-08-16 H.J. Lu <hongjiu.lu@intel.com>
160
161 * readelf.c (get_segment_type): Change PT_GNU_STACK to
162 PT_GNU_ATTR.
163
876c34bf
DJ
1642007-08-12 Daniel Jacobowitz <dan@codesourcery.com>
165
166 * NEWS: Add a marker for the 2.18 features.
167
9975e4c4
DJ
1682007-08-12 Matthias Klose <doko@ubuntu.com>
169
170 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
171 $(top_srcdir)/../../bfd/doc.
172 * doc/Makefile.in: Regenerate.
173
ec8cbbf6
NC
1742007-08-10 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
175
176 * MAINTAINERS: Add myself as CR16 support maintainer and
177 update myself as CRX support maintainer.
178
d02756e7
NC
1792007-08-10 Nick Clifton <nickc@redhat.com>
180
181 * po/fi.po: Updated Finnish translation.
182 * po/vi.po: Updated Vietnamese translation.
183
bd37ed49
KT
1842007-08-10 Kai Tietz <kai.tietz@onevision.com>
185
186 * doc/binutils.texi: (windmc): Correct incorrect desciption.
187
66125551
AM
1882007-08-04 Alan Modra <amodra@bigpond.net.au>
189
190 PR 4888
191 * objcopy.c (setup_section): Do modify section flags for ELF
192 STRIP_NONDEBUG (reverting part of 2007-05-30 change). Prevent
193 header rewrite by twiddling input section flags instead.
194 Simplify code setting SHT_NOBITS.
195
bd5a94b0
CF
1962007-07-28 Christopher Faylor <me+binutils@cgf.cx>
197
198 * MAINTAINERS: Update my email address.
199
317e5c40
AN
2002007-07-26 Adam Nemet <anemet@caviumnetworks.com>
201
202 * readelf.c (process_archive): Also skip Irix6-style archive symbol
203 tables.
204
60bca95a
NC
2052007-07-24 Nick Clifton <nickc@redhat.com>
206
207 * readelf.c (NUM_ELEM): Remove redundant macro; replace references
208 to it with references to ARRAY_SIZE.
209 Add support for CR16.
210 Fix formatting.
211
0e51e555
NC
2122007-07-19 Nick Clifton <nickc@redhat.com>
213
214 PR binutils/4802
215 * srconv.c (strip_suffix): Add const qualifier to argument.
216
80f2eaf0
NC
2172007-07-16 Nick Clifton <nickc@redhat.com>
218
7be360d1 219 * po/uk.po: New Ukrainian translation.
80f2eaf0
NC
220 * configure.in (ALL_LINGUAS): Add 'uk'.
221 * configure: Regenerate.
222
5184c2ae
AM
2232007-07-10 Alan Modra <amodra@bigpond.net.au>
224
225 * objdump.c (dump_dwarf): Correct setting of is_relocatable.
226
fd2f25da
RM
2272007-07-09 Roland McGrath <roland@redhat.com>
228
229 * readelf.c (get_gnu_elf_note_type): New function.
230 (process_note): Use it for "GNU" name.
231
f51a0672
AS
2322007-07-08 Andreas Schwab <schwab@suse.de>
233
234 * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h.
235 (CFILES): Add unwind-ia64.c.
236 Regenerate dependencies.
237 * Makefile.in: Regenerate.
238
32866df7
NC
2392007-07-05 Nick Clifton <nickc@redhat.com>
240
241 * addr2line.c: Update copyright notice to refer to GPLv3.
242 * ar.c, arlex.l, arparse.y, arsup.c, arsup.h, bin2c.c, binemul.c,
243 binemul.h, bucomm.c, bucomm.h, budbg.h, coffdump.c, coffgrok.c,
244 coffgrok.h, cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y,
245 dlltool.c, dlltool.h, dllwrap.c, dwarf.c, dwarf.h, embedspu.sh,
246 emul_aix.c, emul_vanilla.c, filemode.c, ieee.c, mclex.c,
247 mcparse.y, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c,
248 objdump.c, prdbg.c, rclex.c, rcparse.y, rdcoff.c, rddbg.c,
249 readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c,
250 size.c, srconv.c, stabs.c, strings.c, sysdep.h, sysdump.c,
251 sysinfo.y, syslex.l, unwind-ia64.c, unwind-ia64.h, version.c,
252 windint.h, windmc.c, windmc.h, windres.c, windres.h, winduni.c,
253 winduni.h, wrstabs.c: Likewise.
254 * is-ranlib.c, is-strip.c, maybe-ranlib.c, maybe-strip.c,
255 not-ranlib.c, not-strip.c, ranlib.sh, sanity.sh: Add a copyright
256 notice.
257 * NEWS: Mention that the sources are now released under GPLv3.
258 Add a marker for the changes that went into v2.17.
259 * version.c (print_version): Specify that the program is released
260 under version 3 of the GPL.
261
c6998d15
NC
2622007-07-05 Kai Tietz <kai.tietz@onevision.com>
263
5184c2ae 264 * resrc.c: (read_rc_file): Add include path of user passed rc
c6998d15 265 input file.
5184c2ae
AM
266 * windres.c: (windres_add_include_dir): New.
267 (main): Use of windres_add_include_dir.
268 * windres.h: (windres_add_include_dir): Add prototype.
c6998d15 269
29422971
AM
2702007-07-05 Alan Modra <amodra@bigpond.net.au>
271
272 * doc/binutils.texi (size): Document --common.
273 * size.c: Make a number of vars static. Delete unnecessary
274 function declarations.
275 (show_common, common_size): New vars.
276 (usage): Describe --common.
277 (OPTION_FORMAT, OPTION_RADIX, OPTION_TARGET): Define and use.
278 (long_options): Add common.
279 (calculate_common_size): New function.
280 (print_berkeley_format): Add common_size to bsssize.
281 (sysv_one_line): New function split out from..
282 (sysv_internal_printer): ..here.
283 (print_sysv_format): Handle display of *COM*.
284 (print_sizes): Call calculate_common_size.
285
c3de112b
AM
2862007-07-05 Alan Modra <amodra@bigpond.net.au>
287
288 * emul_aix.c (ar_emul_aix_internal): Rename "next" to "archive_next".
289
e205a099
AM
2902007-07-02 Alan Modra <amodra@bigpond.net.au>
291
292 PR 4716
293 * objcopy.c (filter_symbols): Correct relocatable file test.
294
ae351704
AM
2952007-07-02 Alan Modra <amodra@bigpond.net.au>
296
297 * Makefile.am: Run "make dep-am".
298 * Makefile.in: Regenerate.
299 * aclocal.m4: Regenerate.
300 * config.in: Regenerate.
301 * doc/Makefile.in: Regenerate.
302 * po/POTFILES.in: Regenerate.
303 * po/binutils.pot: Regenerate.
304
86b57e31
L
3052007-06-30 H.J. Lu <hongjiu.lu@intel.com>
306
307 * aclocal.m4: Regenerated.
308 * doc/Makefile.in: Likewise.
309 * Makefile.in: Likewise.
310
34c8bcba
JM
3112007-06-29 Joseph Myers <joseph@codesourcery.com>
312
313 * readelf.c (display_power_gnu_attribute, process_power_specific):
314 New.
315 (process_arch_specific): Call process_power_specific.
316
2cf19d5c
JM
3172007-06-29 Joseph Myers <joseph@codesourcery.com>
318
319 * readelf.c (display_mips_gnu_attribute): New.
320 (process_mips_specific): Call process_attributes.
321
104d59d1
JM
3222007-06-29 Joseph Myers <joseph@codesourcery.com>
323
324 * readelf.c (display_gnu_attribute): New.
325 (process_arm_specific): Rearrange as process_attributes.
326 (process_arm_specific): Replace by wrapper of process_attributes.
327
1ac7d223
RM
3282007-06-28 Roland McGrath <roland@frob.com>
329
330 * objcopy.c (setup_section): Don't reset ELF section type to
331 SHT_NOBITS when it is SHT_NOTE.
332 * doc/binutils.texi (objcopy, strip): Mention under --only-keep-debug.
333
cc481421
AM
3342007-06-27 Alan Modra <amodra@bigpond.net.au>
335
336 * ar.c: Rename uses of bfd.next to bfd.archive_next throughout.
337 * arsup.c: Likewise.
338 * binemul.c: Likewise.
339 * objcopy.c: Likewise.
340 * dlltool.c: Likewise.
341
cd6a2ed0
NC
3422007-06-26 Shantonu Sen <ssen@apple.com>
343
344 PR binutils/4693
345 * Makefile.am (windres_DEPENDENCIES, windmc_DEPENDENCIES): Move
346 dependency on $(LIBICONV) to ...
347 (windres_LDADD, windmc_LDADD) ... here.
348 * Makefile.in: Regenerate.
349
daaf07b2
AM
3502007-06-21 Alan Modra <amodra@bigpond.net.au>
351
352 * embedspu.sh (relas): Correct sh_info parsing.
353
b1364e8f 3542007-06-19 Danny Smith <dannysmith@users.sourceforge.net>
1ac7d223 355
5184c2ae 356 * objdump.c: Include sys/stat.h.
b1364e8f 357
cd6a2ed0 3582007-06-19 Kai Tietz <kai.tietz@onevision.com>
692ed3e7 359
5184c2ae
AM
360 * Makefile.am: Add windmc tool.
361 * Makefile.in: Regenerate.
362 * configure.in: Add windmc tool.
363 * configure: Regenerate.
364 * mclex.c: New.
365 * mcparse.y: New.
366 * windmc.c: New.
367 * windmc.h: New.
368 * doc/Makefile.am: Add windmc tool.
369 * doc/Makefile.in: Regenerate.
370 * doc/binutils.texi: Add windmc documentation.
692ed3e7
NC
371 * NEWS: Mention new tool.
372
e8f5eee4
NC
3732007-06-18 Andi Kleen <ak@suse.de>
374
1ac7d223 375 * objdump.c: Include sys/mman.h
e8f5eee4
NC
376 (print_file_list): Remove f, add map, mapsize, linemap, maxline,
377 last_line, first fields.
378 (slurp_file): Add.
379 (index_file): Add.
380 (print_file_open): Call slurp_file and index_file. Initialize new
381 fields.
382 (skip_to_line): Rename to print_line and write only single line.
383 (dump_line): Add.
384 (show_line): Change to new algorithm.
385
03997556
NC
3862007-06-18 Thomas Weidenmueller <w3seek@reactos.org>
387
388 * resres.c (probe_binary): Fix test for badly formatted headers.
389
d856f2dd
NC
3902007-06-18 Kai Tietz <Kai.Tietz@onevision.com>
391
392 * rclex.c: (cpp_line): Add code_page pragma support.
393 * windres.c: (usage, long_options, main): Add new option
394 --codepage or -c.
395 * winduni.c: (wind_default_codepage, wind_current_codepage): New.
396 (unicode_from_ascii, ascii_from_unicode): Use
397 wind_current_codepage as codepage parameter.
398 (unicode_print): Print 4 characters for hexadecimal values in
399 unicode strings.
400 * winduni.h: (wind_default_codepage, wind_current_codepage):
401 Export.
402 * doc/binutils.texi: Document new option.
692ed3e7 403 * NEWS: Mention new features of windres.
d856f2dd 404
daaf07b2 4052007-06-18 Brian D. Watt <bwatt@us.ibm.com>
dbdca70b
AM
406
407 * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
408
79887925
L
4092007-06-14 H.J. Lu <hongjiu.lu@intel.com>
410
411 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
412
413 * acinclude.m4: Removed.
414
415 * Makefile.in: Regenerated.
416 * aclocal.m4: Likewise.
417 * configure: Likewise.
418
a87b0a59
NS
4192007-06-11 Nathan Sidwell <nathan@codesourcery.com>
420
421 * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
422
4b2c5b4a
NC
4232007-06-06 Kai Tietz <Kai.Tietz@onevision.com>
424
425 PR binutils/4356 binutils/591
426 * resrc.c (filename_need_quotes): New function.
427 (look_for_default): If filename_need_quotes is true then quote the
428 filename in the command line being created.
429 (read_rc_file): Likewise.
430
3cc78305
BE
4312007-06-06 Ben Elliston <bje@au.ibm.com>
432
433 * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
434
4b2c5b4a 4352007-06-05 Kai Tietz <Kai.Tietz@onevision.com>
5ba684e2 436
8fd9b8a4
L
437 * Makefile.am: Add LIBICONV to windres.
438 * acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
439 * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
440 * config.in: Add ICONV defines.
441 * aclocal.m4: Regenerate.
442 * confugure: Regenerate.
443 * winduni.c: (local_iconv_map codepages, wind_language_t,
5ba684e2
NC
444 languages, unicode_is_valid_codepage, wind_find_language_by_id,
445 wind_find_language_by_codepage, wind_find_codepage_info,
446 unicode_from_codepage, codepage_from_unicode, iconv_onechar,
447 wind_iconv_cp, wind_MultiByteToWideChar wind_WideCharToMultiByte):
8fd9b8a4
L
448 New.
449 (ascii_from_unicode): Use codepage_from_unicode.
450 (ascii_from_unicode): Use unicode_from_codepage.
451 Use for cygwin windows API for unicode transformation.
452 * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New
5ba684e2 453 macros.
8fd9b8a4
L
454 (wind_language_t, local_iconv_map): New types.
455 (wind_find_language_by_id, wind_find_language_by_codepage,
456 unicode_is_valid_codepage, wind_find_codepage_info,
457 unicode_from_codepage, codepage_from_unicode): New
458 prototypes.
5ba684e2 459
73545089
AM
4602007-06-05 Alan Modra <amodra@bigpond.net.au>
461
462 * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
463
42bb2e33
AM
4642007-05-30 Alan Modra <amodra@bigpond.net.au>
465
466 * objcopy.c (copy_object): Revert 2007-05-11 change. Don't
467 avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
468 (setup_section): Don't modify flags, and don't avoid calling
469 bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
470 * readelf.c (process_program_headers): Ignore .dynamic of type
471 SHT_NOBITS.
472
3ba20bde
AM
4732007-05-29 Alan Modra <amodra@bigpond.net.au>
474
475 * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
476 pic or pie and image needs relocs.
477
37ad9514
SE
4782007-05-24 Steve Ellcey <sje@cup.hp.com>
479
480 * Makefile.in: Regenerate.
481 * configure: Regenerate.
482 * aclocal.m4: Regenerate.
483 * doc/Makefile.in: Regenerate.
484
fc108f8f
NC
4852007-05-24 Kai Tietz <Kai.Tietz@onevision.com>
486
487 * rcparse.y: Join strings for elements having no side-effects in
488 "rc"-grammar.
489
4a594fce
NC
4902007-05-23 Kai Tietz <Kai.Tietz@onevision.com>
491
492 * rclex.c: New file replacing rclex.l.
493 * rclex.l: Removed.
494 * windint.h: New file holding common structure and type
495 definitions.
496 * Makefile.am: Added new header windint.h and exchanged rclex.l by
497 rclex.c.
498 * Makefile.in: Regenerate.
499 * rcparse.y: Renamed some structures.
500 Use in internal representation always bfd_vma instead of long or
501 int.
502 Removed from %union unused stringtable.
503 Added to %union suni structure for unicode strings.
504 Added new tokens for ANICURSOR, ANIICON, DLGINCLUDE,
505 DLGINIT, FONTDIR, HTML, MANIFEST, PLUGPLAY, VXD,
506 TOOLBAR, BUTTON, QUOTEDUNISTRING, and SIZEDUNISTRING.
507 Added support for these new rc file tokens.
508 * resbin.c: Rewrote using bfd and binary structures, and support
509 new resource types.
510 * rescoff.c: Likewise.
511 * resres.c: Likewise.
512 * resrc.c: Likewise. Dumps as RC are now recompilable.
513 * windres.c: As above. Using bfd for res and provide target
514 specific endianess support.
515 * windres.h: Use windint.h as include. Additionally removed K&R
516 syntax.
517 * winduni.c: New printing and unichar support routines.
518 * winduni.h: Prototypes for new unichar helpers.
519 * windint.h: New file.
520
e39ff52a
PB
5212007-05-22 Paul Brook <paul@codesourcery.com>
522
523 * objdump.c (find_symbol_for_address): Merge section and target
524 specific filtering code.
525
0e9517a9
NC
5262007-05-22 Nick Clifton <nickc@redhat.com>
527
528 * doc/binutils.texi: Use @copying around the copyright notice.
529
7df428b1
RS
5302007-05-21 Richard Sandiford <richard@codesourcery.com>
531
532 * objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
533 for executables and shared libraries.
534
12f498a7
NS
5352007-05-18 Nathan Sidwell <nathan@codesourcery.com>
536
537 * objcopy.c (strip_main): Detect identical input and output file
538 names.
539 (copy_main): Refactor tempname detection and use.
540
d5737601
NC
5412007-05-17 Nick Clifton <nickc@redhat.com>
542
543 * objdump.c (load_debug_section): Select bias for DWARF debug
544 addresses based on the flavour of the bfd.
545
8adb2e35
AM
5462007-05-11 Alan Modra <amodra@bigpond.net.au>
547
548 PR 4479
549 * objcopy.c (copy_object): Don't copy ELF program headers for
550 --only-keep-debug.
551
ece5ef60
AM
5522007-05-11 Alan Modra <amodra@bigpond.net.au>
553
554 * embedspu.sh (find_prog): Prefer prog in same dir as embedspu
555 over one found on the users path.
556 (main): Generate .reloc for each R_SPU_PPU* reloc.
557
e74ecdb3
AM
5582007-04-28 Alan Modra <amodra@bigpond.net.au>
559
560 * prdbg.c (tg_variable): Adjust for changed demangler.
561 (tg_start_function): Likewise.
562
eddc20ad
AM
5632007-04-27 Alan Modra <amodra@bigpond.net.au>
564
565 * bucumm.h: Split off host dependencies to..
566 * sysdep.h: ..here.
567 Many files: Include sysdep.h. Remove duplicate headers and reorder.
568 * Makefile.am: Run "make dep-am".
569 * Makefile.in: Regenerate.
570
1a0a850d
NC
5712007-04-24 Nick Clifton <nickc@redhat.com>
572
573 * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
574
312aaa3c
NC
5752007-04-24 Nathan Froyd <froydnj@codesourcery.com>
576 Phil Edwards <phil@codesourcery.com>
577
578 * objcopy.c (filter_symbols): Explicitly stripping a symbol
579 used in relocations is an error.
580 Retype 'keep' to bfd_boolean.
581
55da90a3
AM
5822007-04-24 Alan Modra <amodra@bigpond.net.au>
583
584 * Makefile.in: Regenerate.
585 * doc/Makefile.in: Regenerate.
586
9e48b4c6
NC
5872007-04-20 Nathan Froyd <froydnj@codesourcery.com>
588 Phil Edwards <phil@codesourcery.com>
589 Thomas de Lellis <tdel@windriver.com>
590
591 * objcopy.c (reverse_bytes): New variable.
592 (command_line_switch, copy_main): Add OPTION_REVERSE_ENDIAN.
593 (copy_options, copy_usage): Add "reverse-bytes" entry.
594 (copy_section): Reverse bytes within output sections.
595 * doc/binutils.texi: Document new objcopy option.
596
c6e15d68
NC
5972007-04-20 Nick Clifton <nickc@redhat.com>
598
599 * rclex.l: Allow underscores at the start of identifiers.
600
ed180cc5
AM
6012007-04-19 Alan Modra <amodra@bigpond.net.au>
602
603 * budemang.c: Delete.
604 * budemang.h: Delete.
605 * addr2line.c (translate_addresses): Call bfd_demangle rather than
606 demangle.
607 * nm.c (print_symname): Likewise.
608 * objdump.c (objdump_print_symname, dump_symbols): Likewise.
609 (dump_bfd): Likewise.
610 * prdbg.c (struct pr_handle <demangler>): Add int param.
611 (tg_variable, tg_start_function): Adjust demangler calls.
612 * Makefile.am: Remove mention of budemang.[ch]. Run "make dep-am".
613 * Makefile.in: Regenerate.
614 * po/POTFILES.in: Regenerate.
615
d45dc31f
SE
6162007-04-14 Steve Ellcey <sje@cup.hp.com>
617
618 * Makefile.am: Add ACLOCAL_AMFLAGS.
619 * configure.in: Change macro call order.
620 * Makefile.in: Regenerate.
621 * configure: Regenerate.
622
79e341d9
NS
6232007-04-13 Nathan Sidwell <nathan@codesourcery.com>
624
625 * Makefile.am (TOOL_PROGS): Add objcopy.
626 * Makefile.in: Rebuilt.
627
1aa9ef63
L
6282007-04-12 H.J. Lu <hongjiu.lu@intel.com>
629
630 PR binutils/4348
631 * objcopy.c (copy_object): Don't stop when there are no
632 sections to be copied.
633
9fbad737
VP
6342007-04-10 Vladimir Prus <vladimir@codesourcery.com>
635
636 * NEWS: Mention disjoint histograms support in
637 gprof.
638
6eef1355
DJ
6392007-04-09 Daniel Jacobowitz <dan@codesourcery.com>
640
641 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
642 DW_TAG_inlined_subroutine.
643
5ad507ee
MT
6442007-04-06 Matt Thomas <matt@netbsd.org>
645
646 * MAINTAINERS: Add myself as VAX and NetBSD support maintainer.
647
be26064b
AM
6482007-04-05 Alan Modra <amodra@bigpond.net.au>
649
650 PR binutils/4292
651 * nm.c (print_value): Cast bfd_vma to unsigned long to suit
652 value_format_32bit.
653
970ccc77
NC
6542007-04-02 Nick Clifton <nickc@redhat.com>
655
656 PR binutils/4292
657 * nm.c (value_format): Replace with value_format_32bit and
658 value_format_64bit.
659 (set_radix): Update setting of value_format.
660 (set_print_width): New function. Compute the address size of a
661 given bfd and set the print_width global appropriately.
662 (display_archive): Use set_print_width.
663 (display_file): Likewise,
664 (print_object_filename_sysv): Update use of print_width.
665 (print_archive_member_sysv): Likewise.
666 (print_symbol_filename_posix): Likewise.
667 (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
668
4ecceb71
RS
6692007-03-28 Richard Sandiford <richard@codesourcery.com>
670 Phil Edwards <phil@codesourcery.com>
671
672 * doc/binutils.texi: Put the contents after the title page rather
673 than at the end of the document.
674
331e5c3c
NC
6752007-03-28 Nick Clifton <nickc@redhat.com>
676
677 * readelf.c (slurp_rela_relocs): Add newline to end of error
678 messages.
679 (slurp_rel_relocs, request_dump, request_dump_byname,
680 process_program_headers, process_dynamic_section,
681 process_symbol_table, process_mips_specific, main): Likewise.
682
eacf2b70
AM
6832007-03-28 Alan Modra <amodra@bigpond.net.au>
684
685 * MAINTAINERS: Update mailing list addresses. Add myself
686 as PPC maintainer.
687
48d8dc64
AM
6882007-03-27 Alan Modra <amodra@bigpond.net.au>
689
690 * embedspu.sh: Correct toe_addr quoting.
691
88948ad0
AM
6922007-03-27 Alan Modra <amodra@bigpond.net.au>
693
694 * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
695 .toe section and .toe address checks. Use .reloc for _EAR*
696 symbols defined in non-BSS sections. Build table for _SPUEAR_
697 symbols.
698
6528d0cb
KK
6992007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
700
701 PR gas/3811
702 * readelf.c (debug_apply_rela_addends): Do nothing for SH.
703
e49e529d
JM
7042007-03-22 Joseph Myers <joseph@codesourcery.com>
705
706 * doc/binutils.texi: Include VERSION_PACKAGE when reporting
707 version.
708
591a748a
NC
7092007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
710
711 * dlltool.c (make_one_lib_file): Use pc-relative relocation
712 instead of an absolute relocation for x86_64-pc-mingw32 target.
713
c428fa83
L
7142007-03-15 H.J. Lu <hongjiu.lu@intel.com>
715
716 * Makefile.am (REPORT_BUGS_TO): Removed.
717 (INCLUDES): Remove -DREPORT_BUGS_TO.
718 * Makefile.in: Regenerated.
719
720 * bucomm.c: Don't include bfdver.h.
721 * objdump.c: Likewise.
722 * version.c: Likewise.
723
724 * bucomm.h: Include bfdver.h.
725
726 * configure.in (--with-bugurl): Removed.
727 * configure: Regenerated.
728
729 * doc/Makefile.am (binutils_TEXINFOS): Removed.
730 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
731 (TEXI2DVI): Likewise.
732 (config.texi): Removed.
733 (MOSTLYCLEANFILES): Remove config.texi.
734 * doc/Makefile.in: Regenerated.
735
736 * doc/binutils.texi: Include bfdver.texi instead of
737 config.texi.
738
35d9dd2f
NC
7392007-03-13 Nick Clifton <nickc@redhat.com>
740
741 * readelf.c (dump_section): Also test for SHT_REL sections when
742 producing the warning about unapplied relocs.
743
ad22bfe8
JM
7442007-03-07 Joseph Myers <joseph@codesourcery.com>
745
746 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
747 bug-reporting URL.
748 * doc/Makefile.am (config.texi): Define BUGURL.
749 * doc/binutils.texi: Use BUGURL. Remove text about large files
750 and uuencoding.
751 * Makefile.in, configure, doc/Makefile.in: Regenerate.
752
d3e52d40
RS
7532007-03-01 Phil Edwards <phil@codesourcery.com>
754 Richard Sandiford <richard@codesourcery.com>
755
756 * NEWS: Mention addition of --extract-symbol.
757 * doc/binutils.texi: Document it.
758 * objcopy.c (extract_symbol): New variable.
759 (OPTION_EXTRACT_SYMBOLS): New command_line_switch.
760 (copy_options): Add an entry for --extract-symbol.
761 (copy_usage): Mention --extract-symbol.
762 (copy_object): Set the start address to zero for --extract-symbol.
763 Do not copy private BFD data in that case.
764 (setup_section): Set the size, LMA and VMA to zero for
765 --extract-symbol. Do not copy private BFD data in that case.
766 (copy_section): Do not copy section contents if --extract-symbol
767 is passed.
768 (copy_main): Set extract_symbol to TRUE if --extract-symbol
769 is passed.
770
336becc7
PB
7712007-03-01 Paul Brook <paul@codesourcery.com>
772
773 * MAINTAINERS: Update my entry.
774
066c2a57
JM
7752007-03-01 Joseph Myers <joseph@codesourcery.com>
776
777 * version.c: Update copyright date.
778
a7186e88
DJ
7792007-03-01 Daniel Jacobowitz <dan@codesourcery.com>
780
781 * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
782 Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
783 * Makefile.in, doc/Makefile.in: Regenerate.
784
11d5fa89
AM
7852007-03-01 Alan Modra <amodra@bigpond.net.au>
786
787 * embedspu.sh: Set type and size of global program handle symbol.
788
b125d98b
AM
7892007-02-28 Alan Modra <amodra@bigpond.net.au>
790
791 * Makefile.am (PROGS): Delete.
792 (RENAMED_PROGS): Define. Extracted from..
793 (noinst_PROGRAMS): ..here. Add BUILD_MISC.
794 (install-exec-local): Adjust.
795 * Makefile.in: Regenerate.
796
1d97d67f
AM
7972007-02-28 Alan Modra <amodra@bigpond.net.au>
798
799 * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
800 (bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
801 (EXTRA_PROGRAMS): Remove bin2c.
802 (bin2c$(EXEEXT_FOR_BUILD)): New rule.
803 (bin2c_SOURCES): Delete.
804 (DISTCLEANFILES): Remove sysinfo.
805 (MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
806 bin2c$(EXEEXT_FOR_BUILD).
807 * configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
808 Move embedspu to..
809 (BUILD_INSTALL_MISC): ..here.
810 * Makefile.in: Regenerate.
811 * configure: Regenerate.
812
cd14b966
AM
8132007-02-27 Alan Modra <amodra@bigpond.net.au>
814
815 * bin2c.c: New file.
816 * Makefile.am (EXTRA_PROGRAMS): Add bin2c.
817 (CFILES): Add bin2c.c.
818 (bin2c_SOURCES): Define.
819 (bin2c.o): Dependencies from "make dep-am".
820 * configure.in (BUILD_MISC): Add bin2c.
821 * version.c: Update year.
822 * po/POTFILES.in: Regenerate.
823 * Makefile.in: Regenerate.
824 * configure: Regenerate.
825
92f01d61 8262007-02-17 Mark Mitchell <mark@codesourcery.com>
8fd9b8a4
L
827 Nathan Sidwell <nathan@codesourcery.com>
828 Vladimir Prus <vladimir@codesourcery.com
829 Joseph Myers <joseph@codesourcery.com>
92f01d61
JM
830
831 * configure.in (--with-bugurl): New option.
832 * configure: Regenerate.
833 * Makefile.am (REPORT_BUGS_TO): Define.
834 (INCLUDES): Define REPORT_BUGS_TO.
835 Regenerate dependencies.
836 * Makefile.in: Regenerate.
837 * doc/Makefile.in: Regenerate.
838 * bucomm.h: Remove include of bin-bugs.h.
839 * addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
840 * ar.c (usage): Pass s to list_supported_targets. Don't print
841 empty REPORT_BUGS_TO.
842 * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
843 * cxxfilt.c (usage): Print bug url when giving help.
844 * dlltool.c (usage): Likewise.
845 * dllwrap.c (usage): Likewise.
846 * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
847 * nm.c (usage): Likewise.
848 * objcopy.c (copy_usage, strip_usage): Likewise.
849 * objdump.c (usage): Likewise.
850 * readelf.c ((usage): Likewise. Add STREAM argument. Adjust
851 callers.
852 * size.c (usage): Don't print empty REPORT_BUGS_TO.
853 * srconv.c (show_usage): Likewise.
854 * strings.c (usage): Likewise.
855 * sysdymp.c (show_usage): Likewise.
856 * windres.c (usage): Likewise.
857
41160f02
AM
8582007-02-13 Alan Modra <amodra@bigpond.net.au>
859
860 * embedspu.sh: Add -W to readelf invocation.
861
7358e3f7
DB
8622007-02-06 Dave Brolley <brolley@redhat.com>
863
864 * MAINTAINERS: Add myself as the maintainer of the MeP port.
865
4b78141a
NC
8662007-02-06 Nick Clifton <nickc@redhat.com>
867
868 PR gas/3800
869 * readelf.c: Include elf/h8.h twice. The first time in order to
870 get the reloc numbers, the second time in order to get the reloc
871 decoder function.
872 (dump_section): Tell the user if the section being displayed has
873 unprocessed relocs associated with it.
874 (get_reloc_size): New function - returns the size of a reloc.
875 (debug_apply_rela_addends): Use get_reloc_size().
876 * dwarf.c (read_and_display_attr_value): Extend number of
877 languages known for the DW_AT_language attribute.
878 (process_debug_info): Display the attribute offset before decoding
879 the attribute, in case there are problems.
880
15ab5209
DB
8812007-02-05 Dave Brolley <brolley@redhat.com>
882
883 * readelf.c (dump_relocations): Don't check for
884 (rtype == NULL && type == R_RELC).
885
8862007-02-05 Dave Brolley <brolley@redhat.com>
887
d66340fc
DB
888 * Makefile.am (readelf.o): Depends on $(INCDIR)/elf/mep.h.
889 * Makefile.in: Regenerated.
15ab5209
DB
890 * Contribute the following changes:
891 2003-10-29 Dave Brolley <brolley@redhat.com>
892
893 * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
894 * configure: Regenerated.
895
896 2001-04-03 Ben Elliston <bje@redhat.com>
897
898 * readelf.c: Include "elf/mep.h".
899 (guess_is_rela): Handle EM_CYGNUS_MEP.
900 (get_machine_name): Ditto.
901 (dump_relocations): Ditto.
902
fc523535 9032007-02-02 H.J. Lu <hongjiu.lu@intel.com>
bffa52b3
L
904
905 * MAINTAINERS: Add a space between H.J. and Lu.
906
fc523535 9072007-02-02 H.J. Lu <hongjiu.lu@intel.com>
f59a29b9
L
908
909 * doc/binutils.texi (objdump): Document the new addr64 option
910 for i386 disassembler.
911
fc523535 9122007-02-02 H.J. Lu <hongjiu.lu@intel.com>
7aad4c3d
L
913
914 PR binutils/3945
915 * configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
916 target.
917 (DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
918 * configure: Regenerated.
919
920 * dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
921
e5ce8970
NC
9222007-02-02 Nick Clifton <nickc@redhat.com>
923
924 * doc/binutils.texi (objdump): Document support for disassembling
925 the 440 PowerPC architecture.
926
460c89ff
NS
9272007-01-31 Nathan Sidwell <nathan@codesourcery.com>
928
929 * dwarf.c (process_debug_info): Protect against bogus length and
930 abbrev offsets.
931
84f1d826
KH
9322007-01-25 Kazu Hirata <kazu@codesourcery.com>
933
934 * ar.c (print_contents, extract_file): Cast the return value
935 of fwrite to size_t.
936
7bd7b3ef
AM
9372007-01-12 Alan Modra <amodra@bigpond.net.au>
938
939 * ar.c (open_inarch): Check fwrite return. Use size_t.
940 (extract_file): Likewise. Remove test for "negative" file size.
941 * readelf.c (process_program_headers): Check fscanf return.
942
2946671e
L
9432007-01-11 H.J. Lu <hongjiu.lu@intel.com>
944
945 * bucomm.c (template_in_dir): Fix typo.
946
669a9a2a
AM
9472007-01-11 Alan Modra <amodra@bigpond.net.au>
948
949 * embedspu.sh: New file.
950 * Makefile.am (embedspu): Add rule.
951 * configure.in (BUILD_MISC): Add embedspu for powerpc-linux.
952 * Makefile.in: Regenerate.
953 * configure: Regenerate.
954
485be063
AM
9552007-01-11 Alan Modra <amodra@bigpond.net.au>
956
957 * bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
958 * bucomm.c (template_in_dir): New function, split out from..
959 (make_tempname): ..here. Open the file with O_EXCL if !HAVE_MKSTEMP.
960 (make_tempdir): Use template_in_dir. Handle directory creation
961 when !HAVE_MKDTEMP.
962 * objcopy.c (MKDIR): Don't define.
963 (copy_archive): Use make_tempdir when !HAVE_MKDTEMP too. Fix
964 error message.
965
3bdcfdf4
KH
9662007-01-08 Kazu Hirata <kazu@codesourcery.com>
967
968 * readelf.c (get_machine_flags): Treat Fido as an architecture
969 by itself.
970
42037fe5
NC
9712007-01-08 Kai Tietz <kai.tietz@onevision.com>
972
973 * configure.in: Renamed target x86_64-*-mingw64 to
974 x86_64-*-mingw*.
975 * configure: Regenerated.
976
20414cab
AM
9772007-01-05 Alan Modra <amodra@bigpond.net.au>
978
979 * readelf.c (dump_section): Don't print 32-bit values, which
980 were done incorrectly for little-endian. Instead print bytes.
981
10a2343e 982For older changes see ChangeLog-2006
252b5132
RH
983\f
984Local Variables:
985mode: change-log
986left-margin: 8
987fill-column: 74
988version-control: never
989End: