merge from gcc
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
f9c026a8
NC
12006-10-13 Robert Connolly <robert@linuxfromscratch.org>
2
3 PR binutils/2876
4 * configure.in: Check for the mkstemp and mkdtemp functions.
5 * configure: Regenerate.
6 * config.in (HAVE_MKDTEMP): New potential define.
7 (MAKE_MKSTEMP): Likewise.
8 * bucomm.c (make_tempname): Use mkstemp if it is available.
9 (make_tempdir): New function: Create a temporary directory using
10 mkdtemp, if it is available.
11 * bucomm.h (make_tempdir): New prototype.
12 * objcopy.c (copy_archive): Use make_tempdir if it is available.
13 (strip_main): Produce an warning message if a temporary file could
14 not be created.
15 (copy_main): Likewise.
16 * ar.c (write_archive): Likewise.
17
d4bfc77b
AS
182006-10-10 Andreas Schwab <schwab@suse.de>
19
20 * dwarf.c (display_debug_loc): Don't dereference loc_offsets when
21 there are no location lists.
22 (display_debug_ranges): Similar for range_lists.
23
3b578682
L
242006-10-04 H.J. Lu <hongjiu.lu@intel.com>
25
26 * readelf.c (debug_apply_rela_addends): Don't ignore relocation
27 against symbols without type.
28
ea9986ff
NC
292006-09-25 Pedro Alves <pedro_alves@portugalmail.pt>
30
31 * nlmconv.c (main) : Use LITMEMCPY.
32 * prdbg.c (tg_class_static_member) : Use LITSTRCPY.
33
030cbced
L
342006-09-26 H.J. Lu <hongjiu.lu@intel.com>
35
36 PR binutils/3257
37 * strings.c (main): Handle "-T format".
38
3c7ae2cf
NC
392006-09-26 Nick Clifton <nickc@redhat.com>
40
41 * MAINTAINERS: Add Mei Ligang as maintainer of the Score port.
42
e16323b7
TS
432006-09-26 Thiemo Seufer <ths@networkno.de>
44
45 * configure.in: Remove broken changequote lines.
46
99ad8390
NC
472006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
48
49 * configure.in: Add new target x86_64-pc-mingw64.
50 * configure: Regenerate.
51 * dlltool.c: Adjust include for this target.
52 (DLLTOOL_MX86_64): Added macro to handle target specific code.
53 (mname): Added default target static as "i386:x86-64".
54 (MX86): Added macro for target ident.
55 (mtable): Added target specific definitions.
56 (rvaafter): Add handling of MX86.
57 (rvabefore): Add handling of MX86.
58 (asmprefix): Add handling of MX86.
59
1c0d3aa6
NC
602006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
61
62 * readelf.c: Add support for Score binaries.
63 * Makefile.am: Update readelf's dependencies.
64 * Makefile.in: Regenerate.
65
0112cd26
NC
662006-09-16 Nick Clifton <nickc@redhat.com>
67 Pedro Alves <pedro_alves@portugalmail.pt>
68
69 * ar.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
70 macros defined in bfd.h.
71 * dlltool.c: Likewise.
72 * emul_aix.c: Likewise.
73 * nlmconv.c: Likewise.
74 * objdump.c: Likewise.
75 * prdbg.c: Likewise.
76 * stabs.c: Likewise.
77 * readelf.c (const_strneq): New macro.
78 (process_section_headers, slurp_ia64_unwind_table,
79 slurp_hppa_unwind_table, display_debug_section, process_notes,
80 process_archive): Use the new macro.
81
748fc5e9
L
822006-09-14 H.J. Lu <hongjiu.lu@intel.com>
83
7d3d6bd5 84 PR binutils/3181
748fc5e9
L
85 * objcopy.c (group_signature): Return proper group signature.
86
30288845
AM
872006-09-14 Alan Modra <amodra@bigpond.net.au>
88
7d3d6bd5 89 PR 3181
30288845
AM
90 * objcopy.c (group_signature): New function, split out from..
91 (setup_section): ..here.
92 (is_strip_section): Return true for SHT_GROUP sections that are
93 going to lose their group signature symbol.
94
c39ada54
AM
952006-09-14 Alan Modra <amodra@bigpond.net.au>
96
7d3d6bd5 97 PR 3181
c39ada54
AM
98 * objcopy.c (copy_object): Load symbols earlier.
99 (setup_section): Mark group signature symbols with BSF_KEEP.
100
ee873e00
NC
1012006-09-09 Nick Clifton <nickc@redhat.com>
102
103 PR binutils/3110
104 * objcopy.c (copy_archive): Add new parameter:
105 force_output_target. If not true, then perserve the file formats
106 of each copied archive element, otherwise force them to be one
107 specific file format.
108 (copy_file): Compute force_output_target parameter to pass to
109 copy_archive.
110
91bb255c
NC
1112006-09-05 Nick Clifton <nickc@redhat.com>
112
113 PR binutils/3166
114 * objcopy.c (is_strip_section): Do not treat group sections as
115 debugging sections.
116 * doc/binutils.texi (--only-keep-debug): Document that this switch
117 is only intended for use on fully linked files.
118
157c2599
NC
1192006-09-01 Nick Clifton <nickc@redhat.com>
120
121 PR binutils/3146
122 * readelf.c (dump_relocations): Check for a NULL value in rtype
123 before using it.
124
7148cc28
NC
1252006-08-21 Pedro Alves <pedro_alves@portugalmail.pt>
126
127 * configure.in: Split arm-pe and arm-wince-pe. Build dlltool
128 with -DDLLTOOL_ARM_WINCE for Windows CE case.
129 * configure: Regenerate.
130 * dlltool.c: Add support for arm-wince.
131
20de9fc8
NC
1322006-08-15 Nick Clifton <nickc@redhat.com>
133
134 PR binutils/3039
135 * wrstabs.c (stab_tag_type): Initialize 'size'.
136
258ea6c8
JR
1372006-08-10 J"orn Rennecke <joern.rennecke@st.com>
138
139 PR binutils/3017
140 * doc/Makefile.am: Use single quotes inside backquotes for
141 date command while generating config.texi.
142 * doc/Makefile.in: Regenerate.
143
209c9a13
NC
1442006-08-08 Nick Clifton <nickc@redhat.com>
145
146 PR binutils/2768
147 * dwarf.c (display_debug_aranges): When the address size is
148 greater than 4 display addresses and lengths as 16 hex digits,
149 otherwise use 8 hex digits.
150
d68c385b
NC
1512006-08-06 Nick Clifton <nickc@redhat.com>
152
153 PR binutils/3001
154 * addr2line.c (process_file): Change function from void to
155 returning an int. Return 0 upon success, 1 otherwise.
156 (main): Use return value from process_file as the exit value.
157 * ar.c (ranlib_only): Change function from void to returning an
158 int. Return 0 upon success, 1 otherwise.
159 (ranlib_touch): Likewise.
160 (main): Use return value from ranlib functions as exit value.
161 * objcopy.c (add_specific_symbol): Set status to 1 if get_file_size
162 fails.
163 (copy_file): Likewise.
164 (strip_main): Likewise.
165 (copy_main): Likewise.
166 * objdump.c (display_file): Set exit_status to 1 if get_file_size
167 fails.
168 * size.c (display_file): Set return_code to 1 if get_file_size
169 fails.
170
172553c7
TS
1712006-08-02 Thiemo Seufer <ths@mips.com>
172 Nigel Stephens <nigel@mips.com>
173
174 * readelf.c (dump_relocations): Handle MIPS-specific
175 SHN_MIPS_SCOMMON and SHN_MIPS_SUNDEFINED.
176 (get_symbol_index_type): Similarly.
177
b45619c0
NC
1782006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
179
180 * doc/binutils.texinfo: Fix spelling mistakes.
181
fdc90cb4
JJ
1822006-07-10 Jakub Jelinek <jakub@redhat.com>
183
184 * readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
185 (get_section_type_name): Handle SHT_GNU_HASH.
186 (dynamic_info_DT_GNU_HASH): New variable.
187 (process_dynamic_section): Handle DT_GNU_HASH.
188 (process_symbol_table): Print also DT_GNU_HASH histogram.
189
3bf31ec9
NC
1902006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
191
192 PR binutils/2879
d95ef3ab
NC
193 * doc/binutils.texi (Strings): Document -T shorthand for --target
194 switch.
3bf31ec9
NC
195 * strings.c: Update comment to include -T option.
196
d95ef3ab
NC
197 PR binutils/2875
198 * doc/binutils.texi (readelf): Fix spelling typo.
199
53b8873b
NC
2002006-06-30 Nick Clifton <nickc@redhat.com>
201
202 * dwarf.c (display_debug_frames): Catch a corrupt length field
203 generating an end of block address that is beyond the end of the
204 section.
205 When encountering a corrupt CIE pointer do not reset the start
206 pointer as more data still has to be read.
207 Do not warn about user defined call frame instructions.
208
0f56a26a
DD
2092006-06-29 DJ Delorie <dj@redhat.com>
210
211 * readelf.c (process_section_headers): Add H8/300 support.
212
d58c2e3a
RS
2132006-06-23 Richard Sandiford <richard@codesourcery.com>
214
215 * objcopy.c (localize_hidden): New variable.
216 (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
217 (copy_options): Add --localize-hidden.
218 (copy_usage): Mention --localize-hidden.
219 (is_hidden_symbol): New function.
220 (filter_symbols): Handle localize_hidden.
221 (copy_object): Call filter_symbols if localize_hidden.
222 (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
223 * doc/binutils.texi (--localize-hidden): Document new option.
224
22a84b55
DJ
2252006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
226
227 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
228 (dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
229 * Makefile.in: Regenerate.
230
8b42747f
AM
2312006-06-23 Alan Modra <amodra@bigpond.net.au>
232
233 * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
234 * Makefile.in: Regenerate.
235
6648b7cf
JM
2362006-06-07 Joseph S. Myers <joseph@codesourcery.com>
237
238 * po/Make-in (pdf, ps): New dummy targets.
239
4cfe2c59
DJ
2402006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
241
242 * po/Make-in (top_builddir): Define.
243
8c61c153
AM
2442006-06-05 Alan Modra <amodra@bigpond.net.au>
245
246 * config.in: Regenerate.
247
e10fad12
JM
2482006-06-02 Joseph S. Myers <joseph@codesourcery.com>
249
250 * doc/Makefile.am (TEXI2DVI): Define.
251 * doc/Makefile.in: Regenerate.
252
20e95c23
DJ
2532006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
254
255 * Makefile.am: Replace INTLLIBS with LIBINTL everywhere. Add
256 DEPENDENCIES variables for every program.
257 (INTLLIBS): Remove.
258 (INCLUDES): Use @INCINTL@.
259 * acinclude.m4: Include new gettext macros.
260 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
261 Remove local code for po/Makefile.
262 * Makefile.in, configure, doc/Makefile.in: Regenerated.
263
eebf07fb
NC
2642006-05-30 Nick Clifton <nickc@redhat.com>
265
266 * po/es.po: Updated Spanish translation.
267
d481ba81
JR
2682006-05-25 J"orn Rennecke <joern.rennecke@st.com>
269
270 * MAINTAINERS: Update my email address.
271
9dd728f1
NC
2722006-05-24 Nick Clifton <nickc@redhat.com>
273
274 * po/fr.po: Updated French translation.
275
59bc7ed3
NC
2762006-05-23 Nick Clifton <nickc@redhat.com>
277
9dd728f1 278 * po/vi.po: Updated Vietnamese translation.
59bc7ed3 279
a4721251
DJ
2802006-05-22 Daniel Jacobowitz <dan@codesourcery.com>
281
282 * po/ru.po: Updated translation.
283
f33e8c5b
AS
2842006-05-19 Andreas Schwab <schwab@suse.de>
285
286 * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
287 (ar.1): Likewise.
288 (dlltool.1): Likewise.
289 (nlmconv.1): Likewise.
290 (nm.1): Likewise.
291 (objcopy.1): Likewise.
292 (objdump.1): Likewise.
293 (ranlib.1): Likewise.
294 (readelf.1): Likewise.
295 (size.1): Likewise.
296 (strings.1): Likewise.
297 (strip.1): Likewise.
298 (windres.1): Likewise.
299 (cxxfilt.man): Likewise.
1f3645e1 300 * doc/Makefile.in: Regenerated.
f33e8c5b 301
b93ce811
CD
3022006-05-17 Carlos O'Donell <carlos@codesourcery.com>
303
304 * doc/binutils.texi: Use "Binutils Index" for index name.
305
b758e50f
L
3062006-05-15 H.J. Lu <hongjiu.lu@intel.com>
307
308 * dwarf.c (display_debug_frames): Don't return on ZERO
309 terminator.
310
38fc1cb1
DJ
3112006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
312
313 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
314 (TEXI2POD): Use AM_MAKEINFOFLAGS.
315 (config.texi): Don't set top_srcdir.
316 * doc/binutils.texi: Don't use top_srcdir.
317 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
318
14c28b74
JB
3192006-04-26 Julian Brown <julian@codesourcery.com>
320
321 * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
322
ec3fcc56
AM
3232006-04-19 Alan Modra <amodra@bigpond.net.au>
324
325 * Makefile.am: Run "make dep-am".
326 * Makefile.in: Regenerate.
327
241a6c40
AM
3282006-04-19 Alan Modra <amodra@bigpond.net.au>
329
330 * configure: Regenerate.
331
0b49d371
NC
3322006-04-18 Nick Clifton <nickc@redhat.com>
333
334 PR 2257
335 * readelf.c (SECTION_NAME): Cope with a missing string table.
336 (process_file_header): Cope with a corrupt e_shstrndx field.
337 (process_section_headers): Correctly handle an e_shstrndx value of
338 SHF_UNDEF.
339
4332c151
NC
3402006-04-12 Nick Clifton <nickc@redhat.com>
341
342 * objdump.c (objdump_symbol_at_address): Fix typo in comment.
343
b893fd29
BE
3442006-04-10 Ben Elliston <bje@gnu.org>
345
346 * MAINTAINERS (CGEN Maintainers): Remove myself.
347
108a6f8e
CD
3482006-04-06 Carlos O'Donell <carlos@codesourcery.com>
349
350 * po/Make-in: Add install-html target.
351 * Makefile.am: Add install-html and install-html-recursive targets.
352 * Makefile.in: Regenerate.
353 * configure.in: AC_SUBST datarootdir, docdir and htmldir.
354 * configure: Regenerate.
355 * doc/Makefile.am: Add install-html and install-html-am targets.
356 * doc/Makefile.in: Regenerate.
357
c5f8c388
EB
3582006-04-05 Eric Botcazou <ebotcazou@adacore.com>
359
360 * addr2line.c (long_options): Add new option 'section'.
361 (usage): Document new -j/--section option.
362 (find_offset_in_section): New function.
363 (translate_addresses): Add 'section' parameter.
364 If it is non-null, call find_offset_in_section on it.
365 (process_file): Add 'section_name' parameter.
366 If it is non-null, look for the section in the BFD object.
367 Pass the section to translate_addresses.
368 (main): Handle new -j option.
369 Pass the section name to process_file.
370 * doc/binutils.texi (addr2line): Document new -j/--section option.
371
db336ea9
BE
3722006-03-29 Ben Elliston <bje@au.ibm.com>
373
374 * resbin.c: Avoid duplicating constants in calls to reswr_alloc.
375
6c8388f7
NS
3762006-03-20 Nathan Sidwell <nathan@codesourcery.com>
377
378 * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document
379 binutils-csl-2_17-branch instead.
380
f2495b14
PB
3812006-03-20 Paul Brook <paul@codesourcery.com>
382
383 * BRANCHES: Mention binutils-csl-arm-2006q1-branch.
384
66eb6687
AM
3852006-03-16 Alan Modra <amodra@bigpond.net.au>
386
387 PR 2434
388 * ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
389 * wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
390
91610c0c
BE
3912006-03-13 Ben Elliston <bje@au.ibm.com>
392
393 * bucomm.c (display_target_list): Make local variable `a' to be of
394 type enum bfd_architecture. Thus no need to cast enums to int.
395 (display_info_table): Likewise.
396
3a4a14e9
PB
3972006-03-10 Paul Brook <paul@codesourcery.com>
398
399 * readelf.c (decode_ARM_machine_flags): Handle EABIv5.
400
1617e571
AM
4012006-03-10 Alan Modra <amodra@bigpond.net.au>
402
403 * dwarf.c (process_extended_line_op): Remove pointer_size param.
404 Use length instead to determine address size.
405 (get_pointer_size_and_offset_of_comp_unit): Delete.
406 (display_debug_lines): Adjust for above.
407 (display_debug_aranges): Don't stop on finding two zeros.
408 (display_debug_frames): For warning, print offset not pointer.
409
671659ef
DS
4102006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
411
412 * dlltool.c: Update copyright year.
413 * doc/binutils.texi: Likewise.
414
14288fdc
DS
4152006-03-09 Danny Smith <dannysmith@users.sourceforge.net>
416
417 * dlltool.c (add_stdcall_underscore): New flag.
418 (xlate): Also add underscore to stdcall symbol if
419 add_stdcall_underscore set.
420 (usage): Document --add-stdcall-underscore option.
421 (OPTION_ADD_STDCALL_UNDERSCORE): New define.
422 (long_options): Use it for --add-stdcall-underscore option.
423 (main): Handle it.
424 * doc/binutils.texi: Document --add-stdcall-underscore option
425 and differentiate from --add-underscore.
426
0b2e31dc
NS
4272006-03-06 Nathan Sidwell <nathan@codesourcery.com>
428
429 * readelf.c (get_machine_flags): Adjust.
430
12eae2d3
JJ
4312006-03-03 Jakub Jelinek <jakub@redhat.com>
432
433 * dwarf.c (frame_display_row, display_debug_frames): Handle
434 DW_CFA_val_offset, DW_CFA_val_offset_sf and DW_CFA_val_expression.
435
f9d4ad2a
NC
4362006-02-28 Nick Clifton <nickc@redhat.com>
437
438 * objcopy.c (use_alt_mach_code): Change type to unsigned long.
439 (copy_object): If bfd_alt_mach_code fails emit a more helpful
440 message and if the target architecture is ELF use the alternative
441 as replacement value for the e_machine number.
442 (copy_main): Use strtoul to parse the number provided with the
443 --alt-mach-code switch.
444 * doc/binutils.texi (--alt-mach-code): Document that this switch
445 can now set the absolute e_machine value.
446
f7d9e5c3
CD
4472006-02-27 Carlos O'Donell <carlos@codesourcery.com>
448
449 * po/Make-in: Add html target.
450
0b92ab21
NH
4512006-02-17 Nick Hudson <nick.hudson@dsl.pipex.com>
452
453 * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
454
82de001f
JJ
4552006-02-14 Jakub Jelinek <jakub@redhat.com>
456
457 * config.in: Rebuilt.
458
84d1d650
L
4592006-02-10 H.J. Lu <hongjiu.lu@intel.com>
460
461 PR binutils/2258
462 * readelf.c (process_program_headers): Use
463 ELF_IS_SECTION_IN_SEGMENT_MEMORY.
464
db50c840
EB
4652006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
466
467 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
468 * configure: Regenerate.
469 * objdump.c (fprintf): Remove declaration.
470 * bucomm.h (fprintf): Declare if not already declared.
471 (snprintf): Likewise.
472 (vsnprintf): Likewise.
473
eb4d9372
L
4742006-02-08 H.J. Lu <hongjiu.lu@intel.com>
475
476 * readelf.c (process_program_headers): Match PT_TLS segment
477 only with SHT_TLS sections.
478
266abb8f
NS
4792006-02-07 Nathan Sidwell <nathan@codesourcery.com>
480
481 * readelf.c (get_machine_flags): Add logic for EF_M68K flags.
482
d72d9b9e
L
4832006-02-02 H.J. Lu <hongjiu.lu@intel.com>
484
485 * readelf.c (process_program_headers): Undo the last change.
486
de205c03
L
4872006-02-02 H.J. Lu <hongjiu.lu@intel.com>
488
489 * readelf.c (process_program_headers): Undo the change made on
490 2004-09-22. Match PT_DYNAMIC segment only with SHT_DYNAMIC
491 sections.
492
c8782eee
NC
4932006-01-30 Nick Clifton <nickc@redhat.com>
494
495 * objcopy.c (copy_object): Catch the case where an attempt is made
496 to add a section that already exists and produce a more helpful
497 warning message.
498
bdcfeba5
NC
4992006-01-26 Nick Clifton <nickc@redhat.com>
500
501 * po/vi.po: New Vietnamese translation.
502 * configure.in (ALL_LINGUAS): Add vi.
503 * configure: Regenerate.
504
67a4f2b7
AO
5052006-01-18 Alexandre Oliva <aoliva@redhat.com>
506
507 Introduce TLS descriptors for i386 and x86_64.
508 * readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
509 DT_TLSDESC_PLT.
510
6e2c86ac
NC
5112006-01-18 Nick Clifton <nickc@redhat.com>
512
513 PR binutils/1391
514 * objcopy.c (copy_object): For PE format targets set the VMA of a
515 newly created gnu_debuglink section to a non-zero, aligned,
516 contiguous value.
517 * Makefile.am (objcopy.c): Add a dependency upon libbfd.h.
518 * Makefile.in: Regenerate.
519
d99b6465
AS
5202006-01-17 Andreas Schwab <schwab@suse.de>
521
522 PR binutils/1486
523 * configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
524 * configure: Regenerate.
525 * objdump.c (struct objdump_disasm_info): Don't check for
526 DISASSEMBLER_NEEDS_RELOCS.
527 (objdump_print_addr): Likewise.
528 (disassemble_bytes): Check disassembler_needs_relocs from
529 disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
530 at compile-time.
531 (disassemble_section): Likewise.
532 (disassemble_data): Initialize it.
533
e2ba7bd7
AM
5342006-01-11 Alan Modra <amodra@bigpond.net.au>
535
62d732f5
AM
536 * objcopy.c (copy_object): Fix thinko.
537
e2ba7bd7
AM
538 * objcopy.c (copy_object): Set isympp and osympp to NULL after free.
539
64fd6348
NC
5402006-01-09 Mike Frysinger <vapier@gentoo.org>:
541
542 * readelf.c (guess_is_rela): Add case for Nios/Nios II.
543 (get_machine_name): Likewise.
544
e88d958a 545For older changes see ChangeLog-2005
252b5132
RH
546\f
547Local Variables:
548mode: change-log
549left-margin: 8
550fill-column: 74
551version-control: never
552End:
This page took 0.327488 seconds and 4 git commands to generate.