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