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