57707899398c3c37c9f3c43718c45c4fc001d0fb
[binutils-gdb.git] / binutils / ChangeLog
1 2006-09-26 Nick Clifton <nickc@redhat.com>
2
3 * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
4
5 2006-09-26 Thiemo Seufer <ths@networkno.de>
6
7 * configure.in: Remove broken changequote lines.
8
9 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
10
11 * configure.in: Add new target x86_64-pc-mingw64.
12 * configure: Regenerate.
13 * dlltool.c: Adjust include for this target.
14 (DLLTOOL_MX86_64): Added macro to handle target specific code.
15 (mname): Added default target static as "i386:x86-64".
16 (MX86): Added macro for target ident.
17 (mtable): Added target specific definitions.
18 (rvaafter): Add handling of MX86.
19 (rvabefore): Add handling of MX86.
20 (asmprefix): Add handling of MX86.
21
22 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
23
24 * readelf.c: Add support for Score binaries.
25 * Makefile.am: Update readelf's dependencies.
26 * Makefile.in: Regenerate.
27
28 2006-09-16 Nick Clifton <nickc@redhat.com>
29 Pedro Alves <pedro_alves@portugalmail.pt>
30
31 * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
32 macros defined in bfd.h.
33 * dlltool.c: Likewise.
34 * emul_aix.c: Likewise.
35 * nlmconv.c: Likewise.
36 * objdump.c: Likewise.
37 * prdbg.c: Likewise.
38 * stabs.c: Likewise.
39 * readelf.c (const_strneq): New macro.
40 (process_section_headers, slurp_ia64_unwind_table,
41 slurp_hppa_unwind_table, display_debug_section, process_notes,
42 process_archive): Use the new macro.
43
44 2006-09-14 H.J. Lu <hongjiu.lu@intel.com>
45
46 PR binutils/3181
47 * objcopy.c (group_signature): Return proper group signature.
48
49 2006-09-14 Alan Modra <amodra@bigpond.net.au>
50
51 PR 3181
52 * objcopy.c (group_signature): New function, split out from..
53 (setup_section): ..here.
54 (is_strip_section): Return true for SHT_GROUP sections that are
55 going to lose their group signature symbol.
56
57 2006-09-14 Alan Modra <amodra@bigpond.net.au>
58
59 PR 3181
60 * objcopy.c (copy_object): Load symbols earlier.
61 (setup_section): Mark group signature symbols with BSF_KEEP.
62
63 2006-09-09 Nick Clifton <nickc@redhat.com>
64
65 PR binutils/3110
66 * objcopy.c (copy_archive): Add new parameter:
67 force_output_target. If not true, then perserve the file formats
68 of each copied archive element, otherwise force them to be one
69 specific file format.
70 (copy_file): Compute force_output_target parameter to pass to
71 copy_archive.
72
73 2006-09-05 Nick Clifton <nickc@redhat.com>
74
75 PR binutils/3166
76 * objcopy.c (is_strip_section): Do not treat group sections as
77 debugging sections.
78 * doc/binutils.texi (--only-keep-debug): Document that this switch
79 is only intended for use on fully linked files.
80
81 2006-09-01 Nick Clifton <nickc@redhat.com>
82
83 PR binutils/3146
84 * readelf.c (dump_relocations): Check for a NULL value in rtype
85 before using it.
86
87 2006-08-21 Pedro Alves <pedro_alves@portugalmail.pt>
88
89 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
90 with -DDLLTOOL_ARM_WINCE for Windows CE case.
91 * configure: Regenerate.
92 * dlltool.c: Add support for arm-wince.
93
94 2006-08-15 Nick Clifton <nickc@redhat.com>
95
96 PR binutils/3039
97 * wrstabs.c (stab_tag_type): Initialize 'size'.
98
99 2006-08-10 J"orn Rennecke <joern.rennecke@st.com>
100
101 PR binutils/3017
102 * doc/Makefile.am: Use single quotes inside backquotes for
103 date command while generating config.texi.
104 * doc/Makefile.in: Regenerate.
105
106 2006-08-08 Nick Clifton <nickc@redhat.com>
107
108 PR binutils/2768
109 * dwarf.c (display_debug_aranges): When the address size is
110 greater than 4 display addresses and lengths as 16 hex digits,
111 otherwise use 8 hex digits.
112
113 2006-08-06 Nick Clifton <nickc@redhat.com>
114
115 PR binutils/3001
116 * addr2line.c (process_file): Change function from void to
117 returning an int. Return 0 upon success, 1 otherwise.
118 (main): Use return value from process_file as the exit value.
119 * ar.c (ranlib_only): Change function from void to returning an
120 int. Return 0 upon success, 1 otherwise.
121 (ranlib_touch): Likewise.
122 (main): Use return value from ranlib functions as exit value.
123 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
124 fails.
125 (copy_file): Likewise.
126 (strip_main): Likewise.
127 (copy_main): Likewise.
128 * objdump.c (display_file): Set exit_status to 1 if get_file_size
129 fails.
130 * size.c (display_file): Set return_code to 1 if get_file_size
131 fails.
132
133 2006-08-02 Thiemo Seufer <ths@mips.com>
134 Nigel Stephens <nigel@mips.com>
135
136 * readelf.c (dump_relocations): Handle MIPS-specific
137 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
138 (get_symbol_index_type): Similarly.
139
140 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
141
142 * doc/binutils.texinfo: Fix spelling mistakes.
143
144 2006-07-10 Jakub Jelinek <jakub@redhat.com>
145
146 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
147 (get_section_type_name): Handle SHT_GNU_HASH.
148 (dynamic_info_DT_GNU_HASH): New variable.
149 (process_dynamic_section): Handle DT_GNU_HASH.
150 (process_symbol_table): Print also DT_GNU_HASH histogram.
151
152 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
153
154 PR binutils/2879
155 * doc/binutils.texi (Strings): Document -T shorthand for --target
156 switch.
157 * strings.c: Update comment to include -T option.
158
159 PR binutils/2875
160 * doc/binutils.texi (readelf): Fix spelling typo.
161
162 2006-06-30 Nick Clifton <nickc@redhat.com>
163
164 * dwarf.c (display_debug_frames): Catch a corrupt length field
165 generating an end of block address that is beyond the end of the
166 section.
167 When encountering a corrupt CIE pointer do not reset the start
168 pointer as more data still has to be read.
169 Do not warn about user defined call frame instructions.
170
171 2006-06-29 DJ Delorie <dj@redhat.com>
172
173 * readelf.c (process_section_headers): Add H8/300 support.
174
175 2006-06-23 Richard Sandiford <richard@codesourcery.com>
176
177 * objcopy.c (localize_hidden): New variable.
178 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
179 (copy_options): Add --localize-hidden.
180 (copy_usage): Mention --localize-hidden.
181 (is_hidden_symbol): New function.
182 (filter_symbols): Handle localize_hidden.
183 (copy_object): Call filter_symbols if localize_hidden.
184 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
185 * doc/binutils.texi (--localize-hidden): Document new option.
186
187 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
188
189 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
190 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
191 * Makefile.in: Regenerate.
192
193 2006-06-23 Alan Modra <amodra@bigpond.net.au>
194
195 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
196 * Makefile.in: Regenerate.
197
198 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
199
200 * po/Make-in (pdf, ps): New dummy targets.
201
202 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
203
204 * po/Make-in (top_builddir): Define.
205
206 2006-06-05 Alan Modra <amodra@bigpond.net.au>
207
208 * config.in: Regenerate.
209
210 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
211
212 * doc/Makefile.am (TEXI2DVI): Define.
213 * doc/Makefile.in: Regenerate.
214
215 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
216
217 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
218 DEPENDENCIES variables for every program.
219 (INTLLIBS): Remove.
220 (INCLUDES): Use @INCINTL@.
221 * acinclude.m4: Include new gettext macros.
222 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
223 Remove local code for po/Makefile.
224 * Makefile.in, configure, doc/Makefile.in: Regenerated.
225
226 2006-05-30 Nick Clifton <nickc@redhat.com>
227
228 * po/es.po: Updated Spanish translation.
229
230 2006-05-25 J"orn Rennecke <joern.rennecke@st.com>
231
232 * MAINTAINERS: Update my email address.
233
234 2006-05-24 Nick Clifton <nickc@redhat.com>
235
236 * po/fr.po: Updated French translation.
237
238 2006-05-23 Nick Clifton <nickc@redhat.com>
239
240 * po/vi.po: Updated Vietnamese translation.
241
242 2006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
243
244 * po/ru.po: Updated translation.
245
246 2006-05-19 Andreas Schwab <schwab@suse.de>
247
248 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
249 (ar.1): Likewise.
250 (dlltool.1): Likewise.
251 (nlmconv.1): Likewise.
252 (nm.1): Likewise.
253 (objcopy.1): Likewise.
254 (objdump.1): Likewise.
255 (ranlib.1): Likewise.
256 (readelf.1): Likewise.
257 (size.1): Likewise.
258 (strings.1): Likewise.
259 (strip.1): Likewise.
260 (windres.1): Likewise.
261 (cxxfilt.man): Likewise.
262 * doc/Makefile.in: Regenerated.
263
264 2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
265
266 * doc/binutils.texi: Use "Binutils Index" for index name.
267
268 2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
269
270 * dwarf.c (display_debug_frames): Don't return on ZERO
271 terminator.
272
273 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
274
275 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
276 (TEXI2POD): Use AM_MAKEINFOFLAGS.
277 (config.texi): Don't set top_srcdir.
278 * doc/binutils.texi: Don't use top_srcdir.
279 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
280
281 2006-04-26 Julian Brown <julian@codesourcery.com>
282
283 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
284
285 2006-04-19 Alan Modra <amodra@bigpond.net.au>
286
287 * Makefile.am: Run "make dep-am".
288 * Makefile.in: Regenerate.
289
290 2006-04-19 Alan Modra <amodra@bigpond.net.au>
291
292 * configure: Regenerate.
293
294 2006-04-18 Nick Clifton <nickc@redhat.com>
295
296 PR 2257
297 * readelf.c (SECTION_NAME): Cope with a missing string table.
298 (process_file_header): Cope with a corrupt e_shstrndx field.
299 (process_section_headers): Correctly handle an e_shstrndx value of
300 SHF_UNDEF.
301
302 2006-04-12 Nick Clifton <nickc@redhat.com>
303
304 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
305
306 2006-04-10 Ben Elliston <bje@gnu.org>
307
308 * MAINTAINERS (CGEN Maintainers): Remove myself.
309
310 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
311
312 * po/Make-in: Add install-html target.
313 * Makefile.am: Add install-html and install-html-recursive targets.
314 * Makefile.in: Regenerate.
315 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
316 * configure: Regenerate.
317 * doc/Makefile.am: Add install-html and install-html-am targets.
318 * doc/Makefile.in: Regenerate.
319
320 2006-04-05 Eric Botcazou <ebotcazou@adacore.com>
321
322 * addr2line.c (long_options): Add new option 'section'.
323 (usage): Document new -j/--section option.
324 (find_offset_in_section): New function.
325 (translate_addresses): Add 'section' parameter.
326 If it is non-null, call find_offset_in_section on it.
327 (process_file): Add 'section_name' parameter.
328 If it is non-null, look for the section in the BFD object.
329 Pass the section to translate_addresses.
330 (main): Handle new -j option.
331 Pass the section name to process_file.
332 * doc/binutils.texi (addr2line): Document new -j/--section option.
333
334 2006-03-29 Ben Elliston <bje@au.ibm.com>
335
336 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
337
338 2006-03-20 Nathan Sidwell <nathan@codesourcery.com>
339
340 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
341 binutils-csl-2_17-branch instead.
342
343 2006-03-20 Paul Brook <paul@codesourcery.com>
344
345 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
346
347 2006-03-16 Alan Modra <amodra@bigpond.net.au>
348
349 PR 2434
350 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
351 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
352
353 2006-03-13 Ben Elliston <bje@au.ibm.com>
354
355 * bucomm.c (display_target_list): Make local variable `a' to be of
356 type enum bfd_architecture. Thus no need to cast enums to int.
357 (display_info_table): Likewise.
358
359 2006-03-10 Paul Brook <paul@codesourcery.com>
360
361 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
362
363 2006-03-10 Alan Modra <amodra@bigpond.net.au>
364
365 * dwarf.c (process_extended_line_op): Remove pointer_size param.
366 Use length instead to determine address size.
367 (get_pointer_size_and_offset_of_comp_unit): Delete.
368 (display_debug_lines): Adjust for above.
369 (display_debug_aranges): Don't stop on finding two zeros.
370 (display_debug_frames): For warning, print offset not pointer.
371
372 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
373
374 * dlltool.c: Update copyright year.
375 * doc/binutils.texi: Likewise.
376
377 2006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
378
379 * dlltool.c (add_stdcall_underscore): New flag.
380 (xlate): Also add underscore to stdcall symbol if
381 add_stdcall_underscore set.
382 (usage): Document --add-stdcall-underscore option.
383 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
384 (long_options): Use it for --add-stdcall-underscore option.
385 (main): Handle it.
386 * doc/binutils.texi: Document --add-stdcall-underscore option
387 and differentiate from --add-underscore.
388
389 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
390
391 * readelf.c (get_machine_flags): Adjust.
392
393 2006-03-03 Jakub Jelinek <jakub@redhat.com>
394
395 * dwarf.c (frame_display_row, display_debug_frames): Handle
396 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
397
398 2006-02-28 Nick Clifton <nickc@redhat.com>
399
400 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
401 (copy_object): If bfd_alt_mach_code fails emit a more helpful
402 message and if the target architecture is ELF use the alternative
403 as replacement value for the e_machine number.
404 (copy_main): Use strtoul to parse the number provided with the
405 --alt-mach-code switch.
406 * doc/binutils.texi (--alt-mach-code): Document that this switch
407 can now set the absolute e_machine value.
408
409 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
410
411 * po/Make-in: Add html target.
412
413 2006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
414
415 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
416
417 2006-02-14 Jakub Jelinek <jakub@redhat.com>
418
419 * config.in: Rebuilt.
420
421 2006-02-10 H.J. Lu <hongjiu.lu@intel.com>
422
423 PR binutils/2258
424 * readelf.c (process_program_headers): Use
425 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
426
427 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
428
429 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
430 * configure: Regenerate.
431 * objdump.c (fprintf): Remove declaration.
432 * bucomm.h (fprintf): Declare if not already declared.
433 (snprintf): Likewise.
434 (vsnprintf): Likewise.
435
436 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
437
438 * readelf.c (process_program_headers): Match PT_TLS segment
439 only with SHT_TLS sections.
440
441 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
442
443 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
444
445 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
446
447 * readelf.c (process_program_headers): Undo the last change.
448
449 2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
450
451 * readelf.c (process_program_headers): Undo the change made on
452 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
453 sections.
454
455 2006-01-30 Nick Clifton <nickc@redhat.com>
456
457 * objcopy.c (copy_object): Catch the case where an attempt is made
458 to add a section that already exists and produce a more helpful
459 warning message.
460
461 2006-01-26 Nick Clifton <nickc@redhat.com>
462
463 * po/vi.po: New Vietnamese translation.
464 * configure.in (ALL_LINGUAS): Add vi.
465 * configure: Regenerate.
466
467 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
468
469 Introduce TLS descriptors for i386 and x86_64.
470 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
471 DT_TLSDESC_PLT.
472
473 2006-01-18 Nick Clifton <nickc@redhat.com>
474
475 PR binutils/1391
476 * objcopy.c (copy_object): For PE format targets set the VMA of a
477 newly created gnu_debuglink section to a non-zero, aligned,
478 contiguous value.
479 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
480 * Makefile.in: Regenerate.
481
482 2006-01-17 Andreas Schwab <schwab@suse.de>
483
484 PR binutils/1486
485 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
486 * configure: Regenerate.
487 * objdump.c (struct objdump_disasm_info): Don't check for
488 DISASSEMBLER_NEEDS_RELOCS.
489 (objdump_print_addr): Likewise.
490 (disassemble_bytes): Check disassembler_needs_relocs from
491 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
492 at compile-time.
493 (disassemble_section): Likewise.
494 (disassemble_data): Initialize it.
495
496 2006-01-11 Alan Modra <amodra@bigpond.net.au>
497
498 * objcopy.c (copy_object): Fix thinko.
499
500 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
501
502 2006-01-09 Mike Frysinger <vapier@gentoo.org>:
503
504 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
505 (get_machine_name): Likewise.
506
507 For older changes see ChangeLog-2005
508 \f
509 Local Variables:
510 mode: change-log
511 left-margin: 8
512 fill-column: 74
513 version-control: never
514 End: