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