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