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