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