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