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